diff options
Diffstat (limited to 'config/bgp_configs.go')
-rw-r--r-- | config/bgp_configs.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/config/bgp_configs.go b/config/bgp_configs.go index 0aa1a18a..acac016c 100644 --- a/config/bgp_configs.go +++ b/config/bgp_configs.go @@ -16,7 +16,6 @@ package config import "net" -import "time" // typedef for typedef bgp:peer-type type PeerTypeDef int @@ -372,8 +371,8 @@ type BgpNeighborCommonStateType struct { // peer-state State uint32 // peer-uptime - Uptime time.Time - Downtime time.Time + Uptime int64 + Downtime int64 // BGP statistics // Open message input count @@ -385,7 +384,7 @@ type BgpNeighborCommonStateType struct { // Update message ouput count UpdateOut uint32 // Update message received time - UpdateRecvTime time.Time + UpdateRecvTime int64 // Keepalive input count KeepaliveIn uint32 // Keepalive output count |