diff --git a/ryu/services/protocols/bgp/model.py b/ryu/services/protocols/bgp/model.py index 86af6f49..0781ee1b 100644 --- a/ryu/services/protocols/bgp/model.py +++ b/ryu/services/protocols/bgp/model.py @@ -19,7 +19,7 @@ sessions. """ import logging -from time import localtime +from time import gmtime LOG = logging.getLogger('bgpspeaker.model') @@ -144,7 +144,7 @@ class SentRoute(object): if timestamp: self.timestamp = timestamp else: - self.timestamp = localtime() + self.timestamp = gmtime() # Automatically generated. # @@ -174,7 +174,7 @@ class ReceivedRoute(object): if timestamp: self.timestamp = timestamp else: - self.timestamp = localtime() + self.timestamp = gmtime() @property def received_peer(self):