mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:30:30 +00:00
2005-06-01 Paul Jakma <paul.jakma@sun.com>
* rip_interface.c: Fix authentication, no-auth impossible to specify (rip_interface_new) default to RIP_NO_AUTH (rip_interface_reset) ditto (rip_interface_config_write) write out config for simple
This commit is contained in:
parent
7e440869b5
commit
7755a8c283
@ -1,3 +1,10 @@
|
|||||||
|
2005-06-01 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
|
* rip_interface.c: Fix authentication, no-auth impossible to specify
|
||||||
|
(rip_interface_new) default to RIP_NO_AUTH
|
||||||
|
(rip_interface_reset) ditto
|
||||||
|
(rip_interface_config_write) write out config for simple
|
||||||
|
|
||||||
2005-05-29 Paul Jakma <paul@dishone.st>
|
2005-05-29 Paul Jakma <paul@dishone.st>
|
||||||
|
|
||||||
* ripd.c: (rip_output_process) fix error which crept in my
|
* ripd.c: (rip_output_process) fix error which crept in my
|
||||||
|
@ -123,8 +123,7 @@ rip_interface_new ()
|
|||||||
|
|
||||||
/* Default authentication type is simple password for Cisco
|
/* Default authentication type is simple password for Cisco
|
||||||
compatibility. */
|
compatibility. */
|
||||||
/* ri->auth_type = RIP_NO_AUTH; */
|
ri->auth_type = RIP_NO_AUTH;
|
||||||
ri->auth_type = RIP_AUTH_SIMPLE_PASSWORD;
|
|
||||||
ri->md5_auth_len = RIP_AUTH_MD5_COMPAT_SIZE;
|
ri->md5_auth_len = RIP_AUTH_MD5_COMPAT_SIZE;
|
||||||
|
|
||||||
/* Set default split-horizon behavior. If the interface is Frame
|
/* Set default split-horizon behavior. If the interface is Frame
|
||||||
@ -632,8 +631,7 @@ rip_interface_reset ()
|
|||||||
ri->ri_send = RI_RIP_UNSPEC;
|
ri->ri_send = RI_RIP_UNSPEC;
|
||||||
ri->ri_receive = RI_RIP_UNSPEC;
|
ri->ri_receive = RI_RIP_UNSPEC;
|
||||||
|
|
||||||
/* ri->auth_type = RIP_NO_AUTH; */
|
ri->auth_type = RIP_NO_AUTH;
|
||||||
ri->auth_type = RIP_AUTH_SIMPLE_PASSWORD;
|
|
||||||
|
|
||||||
if (ri->auth_str)
|
if (ri->auth_str)
|
||||||
{
|
{
|
||||||
@ -1714,8 +1712,7 @@ DEFUN (no_ip_rip_authentication_mode,
|
|||||||
ifp = (struct interface *)vty->index;
|
ifp = (struct interface *)vty->index;
|
||||||
ri = ifp->info;
|
ri = ifp->info;
|
||||||
|
|
||||||
/* ri->auth_type = RIP_NO_AUTH; */
|
ri->auth_type = RIP_NO_AUTH;
|
||||||
ri->auth_type = RIP_AUTH_SIMPLE_PASSWORD;
|
|
||||||
ri->md5_auth_len = RIP_AUTH_MD5_COMPAT_SIZE;
|
ri->md5_auth_len = RIP_AUTH_MD5_COMPAT_SIZE;
|
||||||
|
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
@ -2052,11 +2049,8 @@ rip_interface_config_write (struct vty *vty)
|
|||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
|
|
||||||
/* RIP authentication. */
|
/* RIP authentication. */
|
||||||
#if 0
|
|
||||||
/* RIP_AUTH_SIMPLE_PASSWORD becomes default mode. */
|
|
||||||
if (ri->auth_type == RIP_AUTH_SIMPLE_PASSWORD)
|
if (ri->auth_type == RIP_AUTH_SIMPLE_PASSWORD)
|
||||||
vty_out (vty, " ip rip authentication mode text%s", VTY_NEWLINE);
|
vty_out (vty, " ip rip authentication mode text%s", VTY_NEWLINE);
|
||||||
#endif /* 0 */
|
|
||||||
|
|
||||||
if (ri->auth_type == RIP_AUTH_MD5)
|
if (ri->auth_type == RIP_AUTH_MD5)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user