diff options
author | 2011-07-07 04:13:23 +0000 | |
---|---|---|
committer | 2011-07-07 04:13:23 +0000 | |
commit | d5dce658d63977176e3360be59ad92bc04e74cb1 (patch) | |
tree | cd8ebc899d3daaaf1920455a4191fad2b784f49d | |
parent | Set the default way to append the next node (sibling) before, not after (diff) | |
download | wireguard-openbsd-d5dce658d63977176e3360be59ad92bc04e74cb1.tar.xz wireguard-openbsd-d5dce658d63977176e3360be59ad92bc04e74cb1.zip |
KNF
-rw-r--r-- | usr.sbin/ospf6d/ospfe.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/ospf6d/ospfe.c b/usr.sbin/ospf6d/ospfe.c index ca4c286e526..e026d150d2a 100644 --- a/usr.sbin/ospf6d/ospfe.c +++ b/usr.sbin/ospf6d/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.35 2011/07/07 00:36:13 claudio Exp $ */ +/* $OpenBSD: ospfe.c,v 1.36 2011/07/07 04:13:23 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -516,13 +516,13 @@ ospfe_dispatch_rde(int fd, short event, void *bula) * virtual links */ LIST_FOREACH(area, &oeconf->area_list, entry) { - if (area->stub) - continue; - LIST_FOREACH(iface, &area->iface_list, - entry) { - noack += lsa_flood(iface, nbr, - &lsa_hdr, imsg.data); - } + if (area->stub) + continue; + LIST_FOREACH(iface, &area->iface_list, + entry) { + noack += lsa_flood(iface, nbr, + &lsa_hdr, imsg.data); + } } } else if (lsa_hdr.type == htons(LSA_TYPE_LINK)) { /* |