mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
Merge pull request #5303 from taspelund/special_interface_error
staticd: Make blackhole keyword errors more straightforward
This commit is contained in:
commit
1e5fe0e258
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user