View | Details | Raw Unified | Return to bug 1148
Collapse All | Expand All

(-)a/src/network/utils/ipv6-address.cc (-1 / +6 lines)
 Lines 125-131    Link Here 
125
  unsigned char* endp = 0;
125
  unsigned char* endp = 0;
126
  unsigned char* colonp = 0;
126
  unsigned char* colonp = 0;
127
  const char* xdigits = 0;
127
  const char* xdigits = 0;
128
#if 0
128
  const char* curtok = 0;
129
  const char* curtok = 0;
130
#endif
129
  int ch = 0;
131
  int ch = 0;
130
  int seen_xdigits = 0;
132
  int seen_xdigits = 0;
131
  unsigned int val = 0;
133
  unsigned int val = 0;
 Lines 141-148    Link Here 
141
          return (0);
143
          return (0);
142
        }
144
        }
143
    }
145
    }
146
#if 0
144
  curtok = address;
147
  curtok = address;
145
148
#endif
146
  while ((ch = *address++) != '\0')
149
  while ((ch = *address++) != '\0')
147
    {
150
    {
148
      const char *pch = 0;
151
      const char *pch = 0;
 Lines 165-171    Link Here 
165
        }
168
        }
166
      if (ch == ':')
169
      if (ch == ':')
167
        {
170
        {
171
#if 0
168
          curtok = address;
172
          curtok = address;
173
#endif
169
174
170
          if (!seen_xdigits)
175
          if (!seen_xdigits)
171
            {
176
            {

Return to bug 1148