Skip to content

Commit

Permalink
Merge pull request FRRouting#5303 from taspelund/special_interface_error
Browse files Browse the repository at this point in the history
staticd: Make blackhole keyword errors more straightforward
  • Loading branch information
rzalamena authored Nov 15, 2019
2 parents a6f6907 + a88be39 commit 1e5fe0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions staticd/static_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,10 @@ static int static_route_leak(
|| strcasecmp(ifname, "blackhole") == 0) {
if (vty)
vty_out(vty,
"%% Nexthop interface cannot be Null0, reject or blackhole\n");
"%% Nexthop interface name can not be from reserved keywords (Null0, reject, blackhole)\n");
else
zlog_warn(
"%s: Nexthop interface cannot be Null0, reject or blackhole for %s",
"%s: %s: Nexthop interface name can not be from reserved keywords (Null0, reject, blackhole)\n",
__PRETTY_FUNCTION__, dest_str);
return CMD_WARNING_CONFIG_FAILED;
}
Expand Down

0 comments on commit 1e5fe0e

Please sign in to comment.