artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79ba69
)
trim some code i accidentally left into the nvgre add address function
author
dlg
<dlg@openbsd.org>
Sat, 27 Feb 2021 09:21:22 +0000
(09:21 +0000)
committer
dlg
<dlg@openbsd.org>
Sat, 27 Feb 2021 09:21:22 +0000
(09:21 +0000)
sys/net/if_gre.c
patch
|
blob
|
history
diff --git
a/sys/net/if_gre.c
b/sys/net/if_gre.c
index
9296132
..
4a07a17
100644
(file)
--- a/
sys/net/if_gre.c
+++ b/
sys/net/if_gre.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_gre.c,v 1.1
69 2021/02/27 09:20:38
dlg Exp $ */
+/* $OpenBSD: if_gre.c,v 1.1
70 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: