diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 09:59:21 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 09:59:21 -0700 |
commit | 31f4f59beb69270a3d39e96f527414880f49c846 (patch) | |
tree | fc021d018fd43feb8a8a0ae99cca592afc57713b | |
parent | 86f447e58b2d673ac0776781558e956469054b6f (diff) | |
download | quagga-31f4f59beb69270a3d39e96f527414880f49c846.tar.bz2 quagga-31f4f59beb69270a3d39e96f527414880f49c846.tar.xz |
ifdef out dead code
Excise dead code to remove compiler warning
-rw-r--r-- | lib/vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1827,6 +1827,7 @@ vty_serv_sock_addrinfo (const char *hostname, unsigned short port) } #endif /* HAVE_IPV6 && ! NRL */ +#if 0 /* Make vty server socket. */ static void vty_serv_sock_family (const char* addr, unsigned short port, int family) @@ -1891,6 +1892,7 @@ vty_serv_sock_family (const char* addr, unsigned short port, int family) /* Add vty server event. */ vty_event (VTY_SERV, accept_sock, NULL); } +#endif #ifdef VTYSH /* For sockaddr_un. */ |