X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fnetdev-vport.c;h=f101b938c172edf5fc6a01c6b5d13153f8cb2335;hb=8961de6adfd44216f47007ff75fd1cea213d7e31;hp=f0de376a44b7988edab16f14f30d78de6cbe9848;hpb=c3827f619a38d3d202020838e1f92860046a3dbe;p=openvswitch diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index f0de376a..f101b938 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -438,6 +438,7 @@ parse_tunnel_config(const struct netdev_dev *dev, const struct shash *args, bool ipsec_ip_set = false; bool ipsec_mech_set = false; + memset(&config, 0, sizeof config); config.flags |= TNL_F_PMTUD; config.flags |= TNL_F_HDR_CACHE;