summaryrefslogtreecommitdiff
path: root/sys/net/rtable.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2022-06-27 17:15:36 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2022-06-27 17:15:36 +0000
commit5db7d0d15f010ef3abfd72a26b27beca76b68e20 (patch)
tree08cdc9fa4cb92c6825a62e13803e7fcf6cfc26c1 /sys/net/rtable.c
parent151c80ce31dca8de215a4008645b98e344e6fa18 (diff)
Fix white space and wrap long lines.
Diffstat (limited to 'sys/net/rtable.c')
-rw-r--r--sys/net/rtable.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/rtable.c b/sys/net/rtable.c
index c5248ce339b..a28b3cfe13b 100644
--- a/sys/net/rtable.c
+++ b/sys/net/rtable.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtable.c,v 1.77 2022/04/19 15:44:56 bluhm Exp $ */
+/* $OpenBSD: rtable.c,v 1.78 2022/06/27 17:15:35 bluhm Exp $ */
/*
* Copyright (c) 2014-2016 Martin Pieuchot
@@ -574,7 +574,8 @@ rtable_insert(unsigned int rtableid, struct sockaddr *dst,
if (!mpathok ||
(mrt->rt_gateway->sa_len == gateway->sa_len &&
- !memcmp(mrt->rt_gateway, gateway, gateway->sa_len))){
+ memcmp(mrt->rt_gateway, gateway,
+ gateway->sa_len) == 0)) {
error = EEXIST;
goto leave;
}