[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.157 and 1.158

version 1.157, 2016/02/15 23:32:37 version 1.158, 2016/03/07 19:02:43
Line 1180 
Line 1180 
 static void  static void
 mm_record_login(Session *s, struct passwd *pw)  mm_record_login(Session *s, struct passwd *pw)
 {  {
           struct ssh *ssh = active_state; /* XXX */
         socklen_t fromlen;          socklen_t fromlen;
         struct sockaddr_storage from;          struct sockaddr_storage from;
   
Line 1201 
Line 1202 
         }          }
         /* Record that there was a login on that tty from the remote host. */          /* Record that there was a login on that tty from the remote host. */
         record_login(s->pid, s->tty, pw->pw_name, pw->pw_uid,          record_login(s->pid, s->tty, pw->pw_name, pw->pw_uid,
             get_remote_name_or_ip(utmp_len, options.use_dns),              session_get_remote_name_or_ip(ssh, utmp_len, options.use_dns),
             (struct sockaddr *)&from, fromlen);              (struct sockaddr *)&from, fromlen);
 }  }
   

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158