diff options
author | chrisz <chrisz@openbsd.org> | 2019-07-13 06:54:45 +0000 |
---|---|---|
committer | chrisz <chrisz@openbsd.org> | 2019-07-13 06:54:45 +0000 |
commit | b92dabb495157742a111ff396d68dff53269768e (patch) | |
tree | 9fd3753137e34f4226be6598f87650c013e133b5 /usr.sbin/relayd | |
parent | Don't "forward to <table>" when a "forward to destination" address is set. (diff) | |
download | wireguard-openbsd-b92dabb495157742a111ff396d68dff53269768e.tar.xz wireguard-openbsd-b92dabb495157742a111ff396d68dff53269768e.zip |
fix error description on invalid forward ip.
OK benno@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y index 35d06b4b79c..c6e2bcacdfb 100644 --- a/usr.sbin/relayd/parse.y +++ b/usr.sbin/relayd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.240 2019/07/05 06:49:27 patrick Exp $ */ +/* $OpenBSD: parse.y,v 1.241 2019/07/13 06:54:45 chrisz Exp $ */ /* * Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -1903,7 +1903,7 @@ forwardspec : STRING port retry { TAILQ_INIT(&al); if (host($1, &al, 1, &$2, NULL, -1) <= 0) { - yyerror("invalid listen ip: %s", $1); + yyerror("invalid forward ip: %s", $1); free($1); YYERROR; } |