]> git.proxmox.com Git - mirror_frr.git/commitdiff
* bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
authorhasso <hasso>
Wed, 2 Feb 2005 17:15:34 +0000 (17:15 +0000)
committerhasso <hasso>
Wed, 2 Feb 2005 17:15:34 +0000 (17:15 +0000)
  transparent-nexthop" commands.

[merge from GNU Zebra]

bgpd/ChangeLog
bgpd/bgp_vty.c

index 8a64fe9ddb421da093fa6f5f1a6951e63e7dcb4e..009f7f986033c253012b2f536bc034e95f87346f 100644 (file)
@@ -1,3 +1,8 @@
+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".
index 412b91d7bc496f1d9c348be833a3248844f58862..c4b1ef543b61a006a09861a63e0413b5ae99565a 100644 (file)
@@ -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),