summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 09:59:21 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 09:59:21 -0700
commit31f4f59beb69270a3d39e96f527414880f49c846 (patch)
treefc021d018fd43feb8a8a0ae99cca592afc57713b
parent86f447e58b2d673ac0776781558e956469054b6f (diff)
downloadquagga-31f4f59beb69270a3d39e96f527414880f49c846.tar.bz2
quagga-31f4f59beb69270a3d39e96f527414880f49c846.tar.xz
ifdef out dead code
Excise dead code to remove compiler warning
-rw-r--r--lib/vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vty.c b/lib/vty.c
index ccf66406..0bfee7eb 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -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. */