* bgp_vty.c: Deprecate "neighbor transparent-as" and "neighbor
	  transparent-nexthop" commands.

	[merge from GNU Zebra]
diff --git a/bgpd/ChangeLog b/bgpd/ChangeLog
index 8a64fe9..009f7f9 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 412b91d..c4b1ef5 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -2502,24 +2502,24 @@
        "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),