diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2021-02-27 09:21:23 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2021-02-27 09:21:23 +0000 |
commit | 3dec16227ba0ce2c6e4474d16e8e12a633515148 (patch) | |
tree | 8bce33bf44c335ca01bcf19c46d563bfa2f9ca60 /sys | |
parent | 39d85fafb3a1846562dd9f8bff23d7ebba076df0 (diff) |
trim some code i accidentally left into the nvgre add address function
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_gre.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c index 92961320193..4a07a1746d6 100644 --- a/sys/net/if_gre.c +++ b/sys/net/if_gre.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gre.c,v 1.169 2021/02/27 09:20:38 dlg Exp $ */ +/* $OpenBSD: if_gre.c,v 1.170 2021/02/27 09:21:22 dlg Exp $ */ /* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */ /* @@ -3590,9 +3590,6 @@ nvgre_add_addr(struct nvgre_softc *sc, const struct ifbareq *ifba) endpoint.in4 = sin->sin_addr; break; - memset(sin6, 0, sizeof(*sin6)); - sin6->sin6_family = AF_INET6; - sin6->sin6_len = sizeof(*sin6); #ifdef INET6 case AF_INET6: |