summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/ofp10.c
diff options
context:
space:
mode:
authorrzalamena <rzalamena@openbsd.org>2016-11-17 16:24:00 +0000
committerrzalamena <rzalamena@openbsd.org>2016-11-17 16:24:00 +0000
commit13e2db94a7e38aaeab99dd73b2a914ea0771ea24 (patch)
treea58adee473cb29490d73885bd12c102a485cef67 /usr.sbin/switchd/ofp10.c
parentAdd DLT_USER1..15 with the same values as the upstream libpcap repository. (diff)
downloadwireguard-openbsd-13e2db94a7e38aaeab99dd73b2a914ea0771ea24.tar.xz
wireguard-openbsd-13e2db94a7e38aaeab99dd73b2a914ea0771ea24.zip
Fix some styles issues: break big lines and remove some useless spaces.
Diffstat (limited to 'usr.sbin/switchd/ofp10.c')
-rw-r--r--usr.sbin/switchd/ofp10.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/switchd/ofp10.c b/usr.sbin/switchd/ofp10.c
index 5679506f07c..80d350cc73a 100644
--- a/usr.sbin/switchd/ofp10.c
+++ b/usr.sbin/switchd/ofp10.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofp10.c,v 1.13 2016/11/11 22:07:40 reyk Exp $ */
+/* $OpenBSD: ofp10.c,v 1.14 2016/11/17 16:24:00 rzalamena Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -305,7 +305,8 @@ ofp10_packet_match(struct packet *pkt, struct ofp10_match *m, uint32_t flags)
bzero(m, sizeof(*m));
m->m_wildcards = htonl(~flags);
- if ((flags & (OFP10_WILDCARD_DL_SRC|OFP10_WILDCARD_DL_DST)) && (eh == NULL))
+ if ((flags & (OFP10_WILDCARD_DL_SRC|OFP10_WILDCARD_DL_DST)) &&
+ (eh == NULL))
return (-1);
if (flags & OFP10_WILDCARD_DL_SRC)