summaryrefslogtreecommitdiffstats
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorDavid Stevens <dlstevens@us.ibm.com>2007-04-09 18:36:39 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2007-04-09 18:36:39 -0500
commit2a77721a1fe3e256a11d0d8c6a152cb114ba6baf (patch)
treeefb6d8311d76b82fc1f52661daca94bf5dbc7aea /zebra/connected.c
parentc15deb1b7428a2baedfb615b1a41fe28d48c598c (diff)
downloadquagga-zrm.patch.tar.bz2
quagga-zrm.patch.tar.xz
route-map, prefix list, and source setting support for zebrazrm.patch
The following patch: 1) adds "route-map" support to zebra 2) fixes "show route-map" (with no name arg) 3) adds "prefix-list" support zebra 4) adds a "set src" route-map command to allow specifying a source address for matched routes 5) adds "ip protocol" command to zebra to execute route-maps by protocol (or "any") 6) supports "interface", "nexthop" and "ip address" matching for zebra route-map's
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 44002e76..9c2bc739 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -200,8 +200,8 @@ connected_up_ipv4 (struct interface *ifp, struct connected *ifc)
if (prefix_ipv4_any (&p))
return;
- rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, RT_TABLE_MAIN,
- ifp->metric, 0);
+ rib_add_ipv4 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, NULL, ifp->ifindex,
+ RT_TABLE_MAIN, ifp->metric, 0);
rib_update ();
}