summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-06 15:31:04 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-10-06 15:31:04 +0900
commit0a8d6e0e6b8d01651d6983470bea0e4a5ab747a7 (patch)
tree5d20a666828cd69f7b2493fa47168584d39c765a
parent51a2201e14226571fa98af1f1cff6aa8840fea28 (diff)
gobgp: restore --transport option for neighbor command
gobgp neighbor -t [ipv4|ipv6] Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--gobgp/cmd/neighbor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobgp/cmd/neighbor.go b/gobgp/cmd/neighbor.go
index 748e3731..45f8445a 100644
--- a/gobgp/cmd/neighbor.go
+++ b/gobgp/cmd/neighbor.go
@@ -816,5 +816,6 @@ func NewNeighborCmd() *cobra.Command {
},
}
neighborCmd.PersistentFlags().StringVarP(&subOpts.AddressFamily, "address-family", "a", "", "address family")
+ neighborCmd.PersistentFlags().StringVarP(&neighborsOpts.Transport, "transport", "t", "", "specifying a transport protocol")
return neighborCmd
}