summaryrefslogtreecommitdiffstats
path: root/zebra/rtread_proc.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_proc.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_proc.c')
-rw-r--r--zebra/rtread_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtread_proc.c b/zebra/rtread_proc.c
index 93ec238f..1de435a4 100644
--- a/zebra/rtread_proc.c
+++ b/zebra/rtread_proc.c
@@ -96,7 +96,7 @@ proc_route_read (void)
p.prefixlen = ip_masklen (tmpmask);
sscanf (gate, "%lX", (unsigned long *)&gateway);
- rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0, 0, 0);
+ rib_add_ipv4 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, NULL, 0, 0, 0, 0);
}
fclose (fp);