[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.180 and 1.181

version 1.180, 2008/05/08 12:21:16 version 1.181, 2008/06/10 03:57:27
Line 566 
Line 566 
                                 debug("connection from %.100s matched 'Host "                                  debug("connection from %.100s matched 'Host "
                                     "%.100s' at line %d", host, arg, line);                                      "%.100s' at line %d", host, arg, line);
                 } else if (strcasecmp(attrib, "address") == 0) {                  } else if (strcasecmp(attrib, "address") == 0) {
                         if (!address) {                          switch (addr_match_list(address, arg)) {
                                 result = 0;                          case 1:
                                 continue;  
                         }  
                         if (match_hostname(address, arg, len) != 1)  
                                 result = 0;  
                         else  
                                 debug("connection from %.100s matched 'Address "                                  debug("connection from %.100s matched 'Address "
                                     "%.100s' at line %d", address, arg, line);                                      "%.100s' at line %d", address, arg, line);
                                   break;
                           case 0:
                                   result = 0;
                                   break;
                           case -1:
                                   return -1;
                           }
                 } else {                  } else {
                         error("Unsupported Match attribute %s", attrib);                          error("Unsupported Match attribute %s", attrib);
                         return -1;                          return -1;

Legend:
Removed from v.1.180  
changed lines
  Added in v.1.181