[BACK]Return to servconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/servconf.c between version 1.143 and 1.144

version 1.143, 2005/07/25 11:59:40 version 1.144, 2005/08/06 10:03:12
Line 476 
Line 476 
                 if (arg == NULL || *arg == '\0')                  if (arg == NULL || *arg == '\0')
                         fatal("%s line %d: missing address",                          fatal("%s line %d: missing address",
                             filename, linenum);                              filename, linenum);
                   /* check for bare IPv6 address: no "[]" and 2 or more ":" */
                   if (strchr(arg, '[') == NULL && (p = strchr(arg, ':')) != NULL
                       && strchr(p+1, ':') != NULL) {
                           add_listen_addr(options, arg, 0);
                           break;
                   }
                 p = hpdelim(&arg);                  p = hpdelim(&arg);
                 if (p == NULL)                  if (p == NULL)
                         fatal("%s line %d: bad address:port usage",                          fatal("%s line %d: bad address:port usage",

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144