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 | |
parent | c1643bb7d7de6c030a61983be8e0925160a9e427 (diff) |
* bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
transparent-nexthop" commands.
[merge from GNU Zebra]
-rw-r--r-- | bgpd/ChangeLog | 5 | ||||
-rw-r--r-- | bgpd/bgp_vty.c | 24 |
2 files changed, 17 insertions, 12 deletions
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog index 8a64fe9d..009f7f98 100644 --- a/bgpd/ChangeLog +++ b/bgpd/ChangeLog @@ -1,5 +1,10 @@ 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net> + * bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor + transparent-nexthop" commands. + +2005-02-02 Akihiro Mizutani <mizutani@net-chef.net> + * bgp_routemap.c: New route-map command - "match ip route-source". 2005-02-02 Akihiro Mizutani <mizutani@net-chef.net> 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), |