summaryrefslogtreecommitdiffstats
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorMathieu Goessens <gebura@poolp.org>2009-06-23 16:59:45 +0200
committerPaul Jakma <paul@quagga.net>2009-06-23 16:59:45 +0200
commitd13c3b4fcf802f904ef47ad82fdc9763fc704fdf (patch)
treeb95426a542d8b931b731d8138b296c22ec9ac05e /zebra/connected.c
parentMerge remote branch 'origin/master' (diff)
downloadfrr-d13c3b4fcf802f904ef47ad82fdc9763fc704fdf.tar.xz
frr-d13c3b4fcf802f904ef47ad82fdc9763fc704fdf.zip
[zebra] linux policy routing support with ipv6
Quagga support linux policy routing (ip route ... table $X) with zebra.conf table $X option. It works fine on ipv4. On ipv6 the parameter is ignored (table 0 is used). * zebra/...: Pass appropriate table arg to rib_{add,delete}_ipv6
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index c776408ad..95399fa16 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -342,7 +342,7 @@ connected_up_ipv6 (struct interface *ifp, struct connected *ifc)
return;
#endif
- rib_add_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0,
+ rib_add_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, RT_TABLE_MAIN,
ifp->metric, 0);
rib_update ();