diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 19:56:24 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 19:56:24 +0000 |
commit | 78cfba33568916dc861b37b771c2a261f67fffdd (patch) | |
tree | e7c25318f5a09905d04fb23447727da1e72a9074 /lib/vty.c | |
parent | 5e4383cc008567bbb590031b920482e6f3a1dce9 (diff) | |
parent | cc2dd9280c4456586080d1cf4537d26c02fa9a36 (diff) | |
download | quagga-78cfba33568916dc861b37b771c2a261f67fffdd.tar.bz2 quagga-78cfba33568916dc861b37b771c2a261f67fffdd.tar.xz |
Merge remote branch 'quagga/master' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1955,6 +1955,7 @@ uty_accept (int accept_sock) unsigned int on; struct prefix *p = NULL; struct access_list *acl = NULL; + char *bufp; /* We continue hearing vty socket. */ vty_event (VTY_SERV, accept_sock, NULL); @@ -2023,6 +2024,11 @@ uty_accept (int accept_sock) uzlog (NULL, LOG_INFO, "can't set sockopt to vty_sock : %s", safe_strerror (errno)); + zlog (NULL, LOG_INFO, "Vty connection from %s", + (bufp = sockunion_su2str (&su))); + if (bufp) + XFREE (MTYPE_TMP, bufp); + vty = vty_create (vty_sock, &su); return 0; |