From d13c3b4fcf802f904ef47ad82fdc9763fc704fdf Mon Sep 17 00:00:00 2001 From: Mathieu Goessens Date: Tue, 23 Jun 2009 15:59:45 +0100 Subject: [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 --- zebra/connected.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/connected.c') diff --git a/zebra/connected.c b/zebra/connected.c index c776408a..95399fa1 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 (); -- cgit v1.2.1