summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2011-01-27 17:19:10 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2011-01-27 17:19:10 +0000
commit77e1ec36c6229b77655ecadffe5e8f0b97ecef87 (patch)
tree39ab01420d46afc6cdd3a9640645bf18b5516aa5 /usr.sbin/bgpd/rde.c
parent775531afda12f4bbe8a0140f95791f9f732304e1 (diff)
change a logged error from 'enforce remote-as' to the correct
'enforce neighbor-as'; from Sebastian Benoit on tech@.
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index e67c3e631c6..7285885e55c 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.304 2010/12/23 17:41:40 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.305 2011/01/27 17:19:09 sthen Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -921,7 +921,7 @@ rde_update_dispatch(struct imsg *imsg)
if (peer->conf.remote_as !=
aspath_neighbor(asp->aspath)) {
log_peer_warnx(&peer->conf, "bad path, "
- "enforce remote-as enabled");
+ "enforce neighbor-as enabled");
rde_update_err(peer, ERR_UPDATE, ERR_UPD_ASPATH,
NULL, 0);
goto done;