summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/kroute.c
diff options
context:
space:
mode:
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) {