Commit b96cb793 authored by Tomas Hlavacek's avatar Tomas Hlavacek

Fix bug in BirdRouterRemote init

There was a bug in BirdRouterRemote __init__ function in
self.bin_ssh init procedure. The self.bin_ssh was set to None when
bin_birdc parameter was passed. Careless copy-paste artefact perhaps.
Bug has been discovered by Batbileg Sugar .
parent b9474064
...@@ -596,7 +596,7 @@ class BirdRouterRemote(ulgmodel.RemoteRouter,BirdRouter): ...@@ -596,7 +596,7 @@ class BirdRouterRemote(ulgmodel.RemoteRouter,BirdRouter):
else: else:
self.bin_birdc = defaults.default_bin_birdc self.bin_birdc = defaults.default_bin_birdc
if(bin_birdc): if(bin_ssh):
self.bin_ssh = bin_ssh self.bin_ssh = bin_ssh
else: else:
self.bin_ssh = defaults.bin_ssh self.bin_ssh = defaults.bin_ssh
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