diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 20:02:27 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-09 20:02:27 +0000 |
commit | 120e91359392aa18f257cd88e77d762c32eb8a4f (patch) | |
tree | e367f821165554a8dced5e8bcba8a9eedfc69778 /lib/vty.c | |
parent | aa04a120d60b4001bb6224a7efd6d49fec7ec622 (diff) | |
parent | cc2dd9280c4456586080d1cf4537d26c02fa9a36 (diff) | |
download | quagga-120e91359392aa18f257cd88e77d762c32eb8a4f.tar.bz2 quagga-120e91359392aa18f257cd88e77d762c32eb8a4f.tar.xz |
Merge remote branch 'quagga/master' of /git/quagga.euro-ix
Diffstat (limited to 'lib/vty.c')
-rw-r--r-- | lib/vty.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1713,6 +1713,7 @@ vty_accept (struct thread *thread) int accept_sock; struct prefix *p = NULL; struct access_list *acl = NULL; + char *bufp; accept_sock = THREAD_FD (thread); @@ -1785,6 +1786,11 @@ vty_accept (struct thread *thread) zlog (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; |