diff options
author | hasso <hasso> | 2005-02-02 17:15:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2005-02-02 17:15:34 +0000 |
commit | dd4c593fb88b7c6cf5f27aa8a8286644743ed58a (patch) | |
tree | 962cd10bb5bf92a42285f3bb88cbb3ef3f33f595 /bgpd/bgp_vty.c | |
parent | c1643bb7d7de6c030a61983be8e0925160a9e427 (diff) |
* bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
transparent-nexthop" commands.
[merge from GNU Zebra]
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r-- | bgpd/bgp_vty.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 412b91d7..c4b1ef54 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -2502,24 +2502,24 @@ ALIAS (no_neighbor_attr_unchanged, "Nexthop attribute\n") /* For old version Zebra compatibility. */ -DEFUN (neighbor_transparent_as, - neighbor_transparent_as_cmd, - NEIGHBOR_CMD "transparent-as", - NEIGHBOR_STR - NEIGHBOR_ADDR_STR - "Do not append my AS number even peer is EBGP peer\n") +DEFUN_DEPRECATED (neighbor_transparent_as, + neighbor_transparent_as_cmd, + NEIGHBOR_CMD "transparent-as", + NEIGHBOR_STR + NEIGHBOR_ADDR_STR + "Do not append my AS number even peer is EBGP peer\n") { return peer_af_flag_set_vty (vty, argv[0], bgp_node_afi (vty), bgp_node_safi (vty), PEER_FLAG_AS_PATH_UNCHANGED); } -DEFUN (neighbor_transparent_nexthop, - neighbor_transparent_nexthop_cmd, - NEIGHBOR_CMD "transparent-nexthop", - NEIGHBOR_STR - NEIGHBOR_ADDR_STR - "Do not change nexthop even peer is EBGP peer\n") +DEFUN_DEPRECATED (neighbor_transparent_nexthop, + neighbor_transparent_nexthop_cmd, + NEIGHBOR_CMD "transparent-nexthop", + NEIGHBOR_STR + NEIGHBOR_ADDR_STR + "Do not change nexthop even peer is EBGP peer\n") { return peer_af_flag_set_vty (vty, argv[0], bgp_node_afi (vty), bgp_node_safi (vty), |