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

Diff for /src/usr.bin/ssh/addrmatch.c between version 1.1 and 1.2

version 1.1, 2008/06/10 03:57:27 version 1.2, 2008/06/10 05:22:45
Line 374 
Line 374 
         u_int masklen, neg;          u_int masklen, neg;
         int ret = 0, r;          int ret = 0, r;
   
         if (addr != NULL && addr_pton(addr, &try_addr) != 0)          if (addr != NULL && addr_pton(addr, &try_addr) != 0) {
                 fatal("%s: addr_pton(%s)", __func__, addr);                  debug2("%s: couldn't parse address %.100s", __func__, addr);
                   return 0;
           }
         if ((o = list = strdup(_list)) == NULL)          if ((o = list = strdup(_list)) == NULL)
                 return -1;                  return -1;
         while ((cp = strsep(&list, ",")) != NULL) {          while ((cp = strsep(&list, ",")) != NULL) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2