summaryrefslogtreecommitdiff
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2017-01-16 15:12:55 +0100
committerGitHub <noreply@github.com>2017-01-16 15:12:55 +0100
commitab0c9543a9f3337b1d99727a438d1293ef8b2956 (patch)
tree529e6476fdcd48500bcca77ef77b3d68da23f1c6 /zebra/ioctl.c
parent5731f9c9e57f5abfeff891fd036e9527bb14e023 (diff)
parent602ba9bd8b118d3c1302e890010ca7c5d94e0ff5 (diff)
Merge pull request #68 from donaldsharp/cleanup
Cleanup
Diffstat (limited to 'zebra/ioctl.c')
-rw-r--r--zebra/ioctl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/zebra/ioctl.c b/zebra/ioctl.c
index 1835fb3102..1125043310 100644
--- a/zebra/ioctl.c
+++ b/zebra/ioctl.c
@@ -80,7 +80,6 @@ if_ioctl (u_long request, caddr_t buffer)
return 0;
}
-#ifdef HAVE_IPV6
static int
if_ioctl_ipv6 (u_long request, caddr_t buffer)
{
@@ -114,7 +113,6 @@ if_ioctl_ipv6 (u_long request, caddr_t buffer)
}
return 0;
}
-#endif /* HAVE_IPV6 */
/*
* get interface metric
@@ -437,8 +435,6 @@ if_unset_flags (struct interface *ifp, uint64_t flags)
return 0;
}
-#ifdef HAVE_IPV6
-
#ifdef LINUX_IPV6
#ifndef _LINUX_IN6_H
/* linux/include/net/ipv6.h */
@@ -594,5 +590,3 @@ if_prefix_delete_ipv6 (struct interface *ifp, struct connected *ifc)
#endif /* HAVE_STRUCT_IN6_ALIASREQ */
#endif /* LINUX_IPV6 */
-
-#endif /* HAVE_IPV6 */