summaryrefslogtreecommitdiff
path: root/zebra/mtu_kvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/mtu_kvm.c')
-rw-r--r--zebra/mtu_kvm.c4
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;
}