summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-25 19:21:25 +0000
committerhasso <hasso>2003-05-25 19:21:25 +0000
commit81dfcaa2e27d53f4eb61c549e03065dcb1b8eec3 (patch)
tree2aed449138a4833fe343052cdfa505be74332cb4 /zebra/rt_socket.c
parent15291357d130b804dcdcfd81bdb1b86a84567fd0 (diff)
Route (reject|blackhole) support from 6Wind patch.
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index fe88be81..cd2f26ca 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -129,14 +129,6 @@ kernel_rtm_ipv4 (int cmd, struct prefix *p, struct rib *rib, int family)
|| nexthop->type == NEXTHOP_TYPE_IFNAME
|| nexthop->type == NEXTHOP_TYPE_IPV4_IFINDEX)
ifindex = nexthop->ifindex;
- if (nexthop->type == NEXTHOP_TYPE_BLACKHOLE)
- {
- struct in_addr loopback;
-
- loopback.s_addr = htonl (INADDR_LOOPBACK);
- sin_gate.sin_addr = loopback;
- gate = 1;
- }
}
if (cmd == RTM_ADD)