artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424ffda
)
recover scope from v6 nvgre endpoint addresses for userland to look at.
author
dlg
<dlg@openbsd.org>
Sat, 27 Feb 2021 09:20:38 +0000
(09:20 +0000)
committer
dlg
<dlg@openbsd.org>
Sat, 27 Feb 2021 09:20:38 +0000
(09:20 +0000)
sys/net/if_gre.c
patch
|
blob
|
history
diff --git
a/sys/net/if_gre.c
b/sys/net/if_gre.c
index
12b4c93
..
9296132
100644
(file)
--- a/
sys/net/if_gre.c
+++ b/
sys/net/if_gre.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_gre.c,v 1.16
8 2021/02/26 01:28:51
dlg Exp $ */
+/* $OpenBSD: if_gre.c,v 1.16
9 2021/02/27 09:20:38
dlg Exp $ */
/* $NetBSD: if_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@
-4329,7
+4329,7
@@
nvgre_eb_port_sa(void *arg, struct sockaddr_storage *ss, void *port)
sin6->sin6_len = sizeof(*sin6);
sin6->sin6_family = AF_INET6;
-
sin6->sin6_addr = endpoint->in6
;
+
in6_recoverscope(sin6, &endpoint->in6)
;
break;
}