diff options
author | paul <paul> | 2004-05-09 11:00:23 +0000 |
---|---|---|
committer | paul <paul> | 2004-05-09 11:00:23 +0000 |
commit | c0df6f560cb479161d01a61ac39d8390d36ca97c (patch) | |
tree | 300f480e5b12163d26f2b4b2cdd105eedfa11e3c /zebra/mtu_kvm.c | |
parent | ee3d285f3bc444ee9895977fe0e79acd8ea22825 (diff) | |
download | quagga-c0df6f560cb479161d01a61ac39d8390d36ca97c.tar.bz2 quagga-c0df6f560cb479161d01a61ac39d8390d36ca97c.tar.xz |
2004-05-09 Paul Jakma <paul@dishone.st>
* ioctl.c: (if_get_mtu) set mtu6 to mtu
* mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu
* rt_netlink.c: (netlink_interface) set mtu6 to mtu
(netlink_link_change) ditto
2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>
* interface.c: (if_delete_update) only used with HAVE_NETLINK
and RTM_IFANNOUNCE.
(if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags
(if_dump_vty) print mtu6 if not same as mtu
Diffstat (limited to 'zebra/mtu_kvm.c')
-rw-r--r-- | zebra/mtu_kvm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/mtu_kvm.c b/zebra/mtu_kvm.c index 3731dab6..d37bb9bb 100644 --- a/zebra/mtu_kvm.c +++ b/zebra/mtu_kvm.c @@ -46,7 +46,7 @@ if_kvm_get_mtu (struct interface *ifp) {""} }; - ifp->mtu = -1; + ifp->mtu6 = ifp->mtu = -1; kvmd = kvm_openfiles (NULL, NULL, NULL, O_RDONLY, buf); @@ -93,5 +93,5 @@ if_kvm_get_mtu (struct interface *ifp) return ; } - ifp->mtu = ifnet.if_mtu; + ifp->mtu6 = ifp->mtu = ifnet.if_mtu; } |