summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/ChangeLog5
-rw-r--r--bgpd/bgp_vty.c24
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),