diff options
-rw-r--r-- | sys/net/rtsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 73e1421..d6b4259 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -437,7 +437,7 @@ route_output(struct mbuf *m, struct socket *so) info.rti_info[RTAX_IFP] = ifaddr_byindex(ifp->if_index)->ifa_addr; if (jailed(so->so_cred)) { - memset(&jail, 0, sizeof(jail)); + bzero(&jail, sizeof(jail)); jail.sin_family = PF_INET; jail.sin_len = sizeof(jail); jail.sin_addr.s_addr = |