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

Diff for /src/usr.bin/ssh/monitor.c between version 1.112 and 1.113

version 1.112, 2011/05/20 03:25:45 version 1.113, 2011/05/23 03:30:07
Line 547 
Line 547 
         char *username;          char *username;
         struct passwd *pwent;          struct passwd *pwent;
         int allowed = 0;          int allowed = 0;
           u_int i;
   
         debug3("%s", __func__);          debug3("%s", __func__);
   
Line 589 
Line 590 
                 if (options.x != NULL) \                  if (options.x != NULL) \
                         buffer_put_cstring(m, options.x); \                          buffer_put_cstring(m, options.x); \
         } while (0)          } while (0)
   #define M_CP_STRARRAYOPT(x, nx) do { \
                   for (i = 0; i < options.nx; i++) \
                           buffer_put_cstring(m, options.x[i]); \
           } while (0)
         /* See comment in servconf.h */          /* See comment in servconf.h */
         COPY_MATCH_STRING_OPTS();          COPY_MATCH_STRING_OPTS();
 #undef M_CP_STROPT  #undef M_CP_STROPT
   #undef M_CP_STRARRAYOPT
   
         debug3("%s: sending MONITOR_ANS_PWNAM: %d", __func__, allowed);          debug3("%s: sending MONITOR_ANS_PWNAM: %d", __func__, allowed);
         mm_request_send(sock, MONITOR_ANS_PWNAM, m);          mm_request_send(sock, MONITOR_ANS_PWNAM, m);
Line 604 
Line 610 
                 monitor_permit(mon_dispatch, MONITOR_REQ_AUTHSERV, 1);                  monitor_permit(mon_dispatch, MONITOR_REQ_AUTHSERV, 1);
                 monitor_permit(mon_dispatch, MONITOR_REQ_AUTH2_READ_BANNER, 1);                  monitor_permit(mon_dispatch, MONITOR_REQ_AUTH2_READ_BANNER, 1);
         }          }
   
   
         return (0);          return (0);
 }  }

Legend:
Removed from v.1.112  
changed lines
  Added in v.1.113