diff options
Diffstat (limited to 'sys/netipx/ipx_ip.c')
-rw-r--r-- | sys/netipx/ipx_ip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c index 9062d3b..042d276 100644 --- a/sys/netipx/ipx_ip.c +++ b/sys/netipx/ipx_ip.c @@ -101,10 +101,9 @@ ipxipattach() ifp->if_flags = IFF_POINTOPOINT; } - MALLOC((m), struct ifnet_en *, sizeof(*m), M_PCB, M_NOWAIT); + MALLOC((m), struct ifnet_en *, sizeof(*m), M_PCB, M_NOWAIT | M_ZERO); if (m == NULL) return (NULL); - bzero(m, sizeof(*m)); m->ifen_next = ipxip_list; ipxip_list = m; ifp = &m->ifen_ifnet; |