diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-05-09 23:57:58 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-05-10 00:01:08 +0900 |
commit | 7cbb6bbd32ad37ceae89c23bc79ff9cf5fe6a01d (patch) | |
tree | cee6ee1174dce7b7fe816e184351c5aeeda40218 /packet/bgp.go | |
parent | eab6a03899da60794aab5fd2b0387ccfcc360687 (diff) |
cli: support specifying a transport for neighbor command
Added '-t' (--transport) option, which can take "ipv4" or "ipv6":
fujita@ubuntu:~/git/gobgp/gobgp$ gobgp neighbor
Peer AS Up/Down State |#Advertised Received Accepted
10.0.255.1 65001 01:59:53 Establ | 1 2 2
10.0.255.2 65002 01:59:53 Establ | 2 1 1
2001:db8::7 65007 never Active | 0 0 0
fujita@ubuntu:~/git/gobgp/gobgp$ gobgp neighbor -t ipv4
Peer AS Up/Down State |#Advertised Received Accepted
10.0.255.1 65001 02:02:20 Establ | 1 2 2
10.0.255.2 65002 02:02:20 Establ | 2 1 1
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'packet/bgp.go')
0 files changed, 0 insertions, 0 deletions