Skip to content

Commit 87d502c

Browse files
committed
Make this thing actually work if you _do_ want routes from remote.
Derp. Actually test things, and such.
1 parent 17bd8d1 commit 87d502c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def _main(listener, fw, ssh_cmd, remotename, python, latency_control,
249249
try:
250250
(serverproc, serversock) = ssh.connect(ssh_cmd, remotename, python,
251251
stderr=ssyslog._p and ssyslog._p.stdin,
252-
options=dict(latency_control=latency_control
252+
options=dict(latency_control=latency_control,
253253
send_nets=auto_nets))
254254
except socket.error, e:
255255
if e.args[0] == errno.EPIPE:

server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ def main():
164164
else:
165165
helpers.logprefix = 'server: '
166166
debug1('latency control setting = %r\n' % latency_control)
167-
debug1('send known routes = %r\n' % send_routes)
167+
debug1('send known routes = %r\n' % send_nets)
168168

169-
if send_routes:
169+
if send_nets:
170170
routes = list(list_routes())
171171
debug1('available routes:\n')
172172
for r in routes:

0 commit comments

Comments
 (0)