diff options
Diffstat (limited to 'fpm/fpm_pb.h')
| -rw-r--r-- | fpm/fpm_pb.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/fpm/fpm_pb.h b/fpm/fpm_pb.h index 23d7e43993..8847365a37 100644 --- a/fpm/fpm_pb.h +++ b/fpm/fpm_pb.h @@ -111,6 +111,7 @@ static inline int fpm__nexthop__get(const Fpm__Nexthop *nh,  			nexthop->vrf_id = VRF_DEFAULT;  			nexthop->type = NEXTHOP_TYPE_IPV4; +			memset(&nexthop->gate, 0, sizeof(nexthop->gate));  			nexthop->gate.ipv4 = ipv4;  			if (ifindex) {  				nexthop->type = NEXTHOP_TYPE_IPV4_IFINDEX;  | 
