summaryrefslogtreecommitdiffstats
path: root/zebra/rtread_getmsg.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/rtread_getmsg.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/rtread_getmsg.c')
-rw-r--r--zebra/rtread_getmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtread_getmsg.c b/zebra/rtread_getmsg.c
index 1b0c8965..3e065c6f 100644
--- a/zebra/rtread_getmsg.c
+++ b/zebra/rtread_getmsg.c
@@ -90,7 +90,7 @@ handle_route_entry (mib2_ipRouteEntry_t *routeEntry)
gateway.s_addr = routeEntry->ipRouteNextHop;
rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &prefix,
- &gateway, 0, 0, 0, 0);
+ &gateway, NULL, 0, 0, 0, 0);
}
void