X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=discover%2Fnetwork.c;h=87075fcf91925666ed2b8c13757d13dff45b59fc;hb=63e13fa011e6a365979aa777752c00b7f2e49127;hp=b9b0c5043f58e3131b0789f1948257051d0f5831;hpb=089d0a6eb769d531129a7cd1061493a1a24b4bef;p=petitboot diff --git a/discover/network.c b/discover/network.c index b9b0c50..87075fc 100644 --- a/discover/network.c +++ b/discover/network.c @@ -369,6 +369,7 @@ static int network_handle_nlmsg(struct network *network, struct nlmsghdr *nlmsg) info = NLMSG_DATA(nlmsg); have_ifaddr = have_ifname = false; + mtu = 1; attrlen = nlmsg->nlmsg_len - sizeof(*info);