Skip to content

Commit

Permalink
Make this thing actually work if you _do_ want routes from remote.
Browse files Browse the repository at this point in the history
Derp. Actually test things, and such.
  • Loading branch information
drwilco committed Oct 24, 2013
1 parent 17bd8d1 commit 87d502c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _main(listener, fw, ssh_cmd, remotename, python, latency_control,
try:
(serverproc, serversock) = ssh.connect(ssh_cmd, remotename, python,
stderr=ssyslog._p and ssyslog._p.stdin,
options=dict(latency_control=latency_control
options=dict(latency_control=latency_control,
send_nets=auto_nets))
except socket.error, e:
if e.args[0] == errno.EPIPE:
Expand Down
4 changes: 2 additions & 2 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ def main():
else:
helpers.logprefix = 'server: '
debug1('latency control setting = %r\n' % latency_control)
debug1('send known routes = %r\n' % send_routes)
debug1('send known routes = %r\n' % send_nets)

if send_routes:
if send_nets:
routes = list(list_routes())
debug1('available routes:\n')
for r in routes:
Expand Down

0 comments on commit 87d502c

Please sign in to comment.