diff options
author | hasso <hasso> | 2005-08-27 06:05:47 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-08-27 06:05:47 +0000 |
commit | 05ecff24d81162311a2f57e8d0207b99330a5754 (patch) | |
tree | 47b3a7b60eda5a057314fed12ac5f9213eb2827e /zebra/rtread_proc.c | |
parent | 6cb71af352fd7f481ed0a3638f8b80aba17dbbb7 (diff) | |
download | quagga-05ecff24d81162311a2f57e8d0207b99330a5754.tar.bz2 quagga-05ecff24d81162311a2f57e8d0207b99330a5754.tar.xz |
* zebra_rib.c, rib.h: Add distance and metric arguments to the
rib_add_ipv6() function so that IPv6 routes in RIB can have correct
metric. No IPv6 routing daemon uses distance yet though.
* zserv.c, connected.c, kernel_socket.c, rt_netlink.c,
rtread_proc.c,zserv.c: Pass metric and distance info to the
rib_add_ipv6().
Forwardport from stable branch.
Diffstat (limited to 'zebra/rtread_proc.c')
-rw-r--r-- | zebra/rtread_proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/rtread_proc.c b/zebra/rtread_proc.c index ab3891a3..93ec238f 100644 --- a/zebra/rtread_proc.c +++ b/zebra/rtread_proc.c @@ -156,7 +156,8 @@ proc_ipv6_route_read () str2in6_addr (gate, &gateway); p.prefixlen = dest_plen; - rib_add_ipv6 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0); + rib_add_ipv6 (ZEBRA_ROUTE_KERNEL, zebra_flags, &p, &gateway, 0, 0, + metric, 0); } fclose (fp); |