summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/ospfd.c
diff options
context:
space:
mode:
authorremi <remi@openbsd.org>2019-03-26 20:39:33 +0000
committerremi <remi@openbsd.org>2019-03-26 20:39:33 +0000
commitab2e5253f16a8c4df5b5df44a32f9306e3b33fac (patch)
treede1c28b94c0028a1f7524989bb848bc653b33246 /usr.sbin/ospfd/ospfd.c
parentnote that powersave is disabled by default (i.e. no need to explicitly (diff)
downloadwireguard-openbsd-ab2e5253f16a8c4df5b5df44a32f9306e3b33fac.tar.xz
wireguard-openbsd-ab2e5253f16a8c4df5b5df44a32f9306e3b33fac.zip
The recently introduced "router-id changed" warning is a bit long.
Shorten it to better match the style of other log messages. ok jca@
Diffstat (limited to 'usr.sbin/ospfd/ospfd.c')
-rw-r--r--usr.sbin/ospfd/ospfd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c
index 2387b4abe6e..efb150fa63c 100644
--- a/usr.sbin/ospfd/ospfd.c
+++ b/usr.sbin/ospfd/ospfd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfd.c,v 1.106 2019/03/25 20:38:54 jca Exp $ */
+/* $OpenBSD: ospfd.c,v 1.107 2019/03/26 20:39:33 remi Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -644,8 +644,7 @@ ospf_reload(void)
/* Abort the reload if rtr_id changed */
if (ospfd_conf->rtr_id.s_addr != xconf->rtr_id.s_addr) {
- log_warnx("router-id changed in new configuration, "
- "this requires ospfd to be restarted.");
+ log_warnx("router-id changed: restart required");
return (-1);
}