Commit 05de1e14 authored by Tomas Hlavacek's avatar Tomas Hlavacek

Fix typos introduced by previous commit

Fix minor typos introduced by previous commit. The bug slightly affected
effectivness of the ULG CGI startup.
parent 1c299957
...@@ -386,7 +386,7 @@ class BirdRouter(ulgmodel.Router): ...@@ -386,7 +386,7 @@ class BirdRouter(ulgmodel.Router):
def __init__(self): def __init__(self):
self.bgp_peers = None self.bgp_peers = None
self.routing_tables = None self.routing_tables = None
self.bgp_peers_select = None self.bgp_peer_select = None
self.rt_select = None self.rt_select = None
def _getDefaultCommands(self): def _getDefaultCommands(self):
...@@ -449,7 +449,7 @@ class BirdRouter(ulgmodel.Router): ...@@ -449,7 +449,7 @@ class BirdRouter(ulgmodel.Router):
name=defaults.STRING_RTABLE) name=defaults.STRING_RTABLE)
def getBGPPeerSelect(self): def getBGPPeerSelect(self):
if(not self.bgp_peers_select): if(not self.bgp_peer_select):
self.initBGPPeerSelect(self.getBGPPeers()) self.initBGPPeerSelect(self.getBGPPeers())
return self.bgp_peer_select return self.bgp_peer_select
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment