Skip to content

Commit

Permalink
Merge pull request #2005 from qlyoung/remove-masc-node
Browse files Browse the repository at this point in the history
lib: remove MASC_NODE
  • Loading branch information
rzalamena authored Apr 2, 2018
2 parents 6d8b966 + 7d3ffd3 commit 5012c1b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions lib/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ const char *node_names[] = {
"ldp l2vpn", // LDP_L2VPN_NODE,
"ldp", // LDP_PSEUDOWIRE_NODE,
"isis", // ISIS_NODE,
"masc", // MASC_NODE,
"irdp", // IRDP_NODE,
"static ip", // IP_NODE,
"ipv4 access list", // ACCESS_NODE,
Expand Down Expand Up @@ -1313,7 +1312,6 @@ void cmd_exit(struct vty *vty)
case LDP_L2VPN_NODE:
case ISIS_NODE:
case KEYCHAIN_NODE:
case MASC_NODE:
case RMAP_NODE:
case VTY_NODE:
vty->node = CONFIG_NODE;
Expand Down Expand Up @@ -1424,7 +1422,6 @@ DEFUN (config_end,
case ISIS_NODE:
case KEYCHAIN_NODE:
case KEYCHAIN_KEY_NODE:
case MASC_NODE:
case VTY_NODE:
case LINK_PARAMS_NODE:
vty_config_unlock(vty);
Expand Down
1 change: 0 additions & 1 deletion lib/command.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ enum node_type {
LDP_L2VPN_NODE, /* LDP L2VPN node */
LDP_PSEUDOWIRE_NODE, /* LDP Pseudowire node */
ISIS_NODE, /* ISIS protocol mode */
MASC_NODE, /* MASC for multicast. */
IRDP_NODE, /* ICMP Router Discovery Protocol mode. */
IP_NODE, /* Static ip route node. */
ACCESS_NODE, /* Access list node. */
Expand Down
2 changes: 0 additions & 2 deletions lib/vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,6 @@ static void vty_end_config(struct vty *vty)
case ISIS_NODE:
case KEYCHAIN_NODE:
case KEYCHAIN_KEY_NODE:
case MASC_NODE:
case VTY_NODE:
case BGP_EVPN_VNI_NODE:
vty_config_unlock(vty);
Expand Down Expand Up @@ -1128,7 +1127,6 @@ static void vty_stop_input(struct vty *vty)
case ISIS_NODE:
case KEYCHAIN_NODE:
case KEYCHAIN_KEY_NODE:
case MASC_NODE:
case VTY_NODE:
vty_config_unlock(vty);
vty->node = ENABLE_NODE;
Expand Down
1 change: 0 additions & 1 deletion vtysh/vtysh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,6 @@ static int vtysh_exit(struct vty *vty)
case LDP_NODE:
case LDP_L2VPN_NODE:
case ISIS_NODE:
case MASC_NODE:
case RMAP_NODE:
case VTY_NODE:
case KEYCHAIN_NODE:
Expand Down

0 comments on commit 5012c1b

Please sign in to comment.