summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gobgp/neighbor.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/gobgp/neighbor.go b/cmd/gobgp/neighbor.go
index 8e603299..31e01b4c 100644
--- a/cmd/gobgp/neighbor.go
+++ b/cmd/gobgp/neighbor.go
@@ -95,10 +95,10 @@ func getASN(p *api.Peer) string {
return asn
}
-func counter(p *api.Peer) (uint32, uint32, uint32, error) {
- accepted := uint32(0)
- received := uint32(0)
- advertised := uint32(0)
+func counter(p *api.Peer) (uint64, uint64, uint64, error) {
+ accepted := uint64(0)
+ received := uint64(0)
+ advertised := uint64(0)
for _, afisafi := range p.AfiSafis {
if subOpts.AddressFamily != "" {
f, e := checkAddressFamily(&api.Family{})