summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-12-08 12:27:02 +0300
committerDenis Ovsienko <infrastation@yandex.ru>2009-12-08 12:27:02 +0300
commitffac19c58ee636274cd3972b584e37cd9a3331de (patch)
treeab21740846d246fd817dae578f5e4d83731e4cd6 /zebra
parent38cc00cd823fe945c7748de18c3e8932d98dd8f8 (diff)
zebra: remove unused function to fix warning
* zebra/interface.c * if_supported_family(): sayonara
Diffstat (limited to 'zebra')
-rw-r--r--zebra/interface.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 9dfb6d50..ba4cf25f 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -830,19 +830,6 @@ if_dump_vty (struct vty *vty, struct interface *ifp)
#endif /* HAVE_NET_RT_IFLIST */
}
-/* Check supported address family. */
-static int
-if_supported_family (int family)
-{
- if (family == AF_INET)
- return 1;
-#ifdef HAVE_IPV6
- if (family == AF_INET6)
- return 1;
-#endif /* HAVE_IPV6 */
- return 0;
-}
-
/* Wrapper hook point for zebra daemon so that ifindex can be set
* DEFUN macro not used as extract.pl HAS to ignore this
* See also interface_cmd in lib/if.c