artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfb264
)
KNF, move { up to if () statement
author
claudio
<claudio@openbsd.org>
Tue, 2 Feb 2021 17:53:02 +0000
(17:53 +0000)
committer
claudio
<claudio@openbsd.org>
Tue, 2 Feb 2021 17:53:02 +0000
(17:53 +0000)
sys/netinet6/ip6_output.c
patch
|
blob
|
history
diff --git
a/sys/netinet6/ip6_output.c
b/sys/netinet6/ip6_output.c
index
2cc065e
..
08fbda8
100644
(file)
--- a/
sys/netinet6/ip6_output.c
+++ b/
sys/netinet6/ip6_output.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ip6_output.c,v 1.25
1 2021/02/01 13:25:04 bluhm Exp $
*/
+/* $OpenBSD: ip6_output.c,v 1.25
2 2021/02/02 17:53:02 claudio Exp $
*/
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@
-2071,8
+2071,7
@@
ip6_setmoptions(int optname, struct ip6_moptions **im6op, struct mbuf *m,
}
mreq = mtod(m, struct ipv6_mreq *);
if (IN6_IS_ADDR_UNSPECIFIED(&mreq->ipv6mr_multiaddr)) {
- if (suser(p))
- {
+ if (suser(p)) {
error = EACCES;
break;
}