mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
* rip_interface.c: Now the command "no ip rip split-horizon poisoned-reverse" just inhibates the poisoned-reverse effects but keep spli-horizon activ.
This commit is contained in:
parent
f52d13cb2e
commit
fac3e8410a
@ -1,3 +1,9 @@
|
|||||||
|
2005-10-06 Alain Ritoux <alain.ritoux@6wind.com>
|
||||||
|
|
||||||
|
* rip_interface.c: Now the command "no ip rip split-horizon
|
||||||
|
poisoned-reverse" just inhibates the poisoned-reverse effects
|
||||||
|
but keep spli-horizon activ.
|
||||||
|
|
||||||
2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
2005-10-01 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
|
||||||
|
|
||||||
* rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
|
* rip_zebra.c: (config_write_rip_redistribute): Remove local hard-coded
|
||||||
|
@ -1900,7 +1900,7 @@ DEFUN (no_ip_rip_split_horizon,
|
|||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
ALIAS (no_ip_rip_split_horizon,
|
DEFUN (no_ip_rip_split_horizon_poisoned_reverse,
|
||||||
no_ip_rip_split_horizon_poisoned_reverse_cmd,
|
no_ip_rip_split_horizon_poisoned_reverse_cmd,
|
||||||
"no ip rip split-horizon poisoned-reverse",
|
"no ip rip split-horizon poisoned-reverse",
|
||||||
NO_STR
|
NO_STR
|
||||||
@ -1908,6 +1908,23 @@ ALIAS (no_ip_rip_split_horizon,
|
|||||||
"Routing Information Protocol\n"
|
"Routing Information Protocol\n"
|
||||||
"Perform split horizon\n"
|
"Perform split horizon\n"
|
||||||
"With poisoned-reverse\n")
|
"With poisoned-reverse\n")
|
||||||
|
{
|
||||||
|
struct interface *ifp;
|
||||||
|
struct rip_interface *ri;
|
||||||
|
|
||||||
|
ifp = vty->index;
|
||||||
|
ri = ifp->info;
|
||||||
|
|
||||||
|
switch( ri->split_horizon )
|
||||||
|
{
|
||||||
|
case RIP_SPLIT_HORIZON_POISONED_REVERSE:
|
||||||
|
ri->split_horizon = RIP_SPLIT_HORIZON;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return CMD_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
DEFUN (rip_passive_interface,
|
DEFUN (rip_passive_interface,
|
||||||
rip_passive_interface_cmd,
|
rip_passive_interface_cmd,
|
||||||
|
Loading…
Reference in New Issue
Block a user