summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/kroute.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2013-10-15 20:21:27 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2013-10-15 20:21:27 +0000
commitce38752c2223de9f1a89440447cd431d731e3a92 (patch)
tree444a8725545fc812f6ae50c171c8a9711dcfcc09 /usr.sbin/ldpd/kroute.c
parent9f5335e4b55dca498205858504e957335b9cf308 (diff)
Fix whitespace and other style issues.
OK claudio@
Diffstat (limited to 'usr.sbin/ldpd/kroute.c')
-rw-r--r--usr.sbin/ldpd/kroute.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ldpd/kroute.c b/usr.sbin/ldpd/kroute.c
index 8a1efcdb0dd..b7f03b6ec72 100644
--- a/usr.sbin/ldpd/kroute.c
+++ b/usr.sbin/ldpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.29 2013/06/04 00:41:18 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.30 2013/10/15 20:21:25 renato Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -553,7 +553,7 @@ kroute_insert(struct kroute_node *kr)
if ((krh = RB_INSERT(kroute_tree, &krt, kr)) != NULL) {
/*
- * Multiple FEC, add to ordered list
+ * Multiple FEC, add to ordered list
*/
if (kr->r.priority < krh->r.priority) {
/* head element */
@@ -847,7 +847,7 @@ if_change(u_short ifindex, int flags, struct if_data *ifd,
kif = kif_update(ifindex, flags, ifd, sdl, &link_old);
if (!kif) {
- log_warn("if_change: kif_update(%u)", ifindex);
+ log_warn("if_change: kif_update(%u)", ifindex);
return;
}
link_new = (kif->k.flags & IFF_UP) &&
@@ -1072,7 +1072,6 @@ send_rtmsg(int fd, int action, struct kroute *kroute, u_int32_t family)
}
}
-
retry:
if (writev(fd, iov, iovcnt) == -1) {
if (errno == ESRCH) {