summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2013-03-22 11:29:01 +0000
committersthen <sthen@openbsd.org>2013-03-22 11:29:01 +0000
commit2f0e53c95f97c29845ad03a18426a0c848e283f0 (patch)
treee96e7b76edf6b3e22b4c431c6004171d02c78c7e
parentPrevent lock on control clients, not on others. (diff)
downloadwireguard-openbsd-2f0e53c95f97c29845ad03a18426a0c848e283f0.tar.xz
wireguard-openbsd-2f0e53c95f97c29845ad03a18426a0c848e283f0.zip
whitespace tweak; gratuitous difference with ospf6d
-rw-r--r--usr.sbin/ospfd/ospfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c
index 42d19b75c43..8e1e30d7bac 100644
--- a/usr.sbin/ospfd/ospfd.c
+++ b/usr.sbin/ospfd/ospfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.c,v 1.78 2011/08/20 11:16:09 sthen Exp $ */
+/* $OpenBSD: ospfd.c,v 1.79 2013/03/22 11:29:01 sthen Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -596,7 +596,7 @@ ospf_redistribute(struct kroute *kr, u_int32_t *metric)
r->mask.s_addr == INADDR_ANY) {
if (is_default) {
*metric = r->metric;
- return (r->type & REDIST_NO? 0 : 1);
+ return (r->type & REDIST_NO ? 0 : 1);
} else
return (0);
}