Commit 9fa3a71f authored by Jondy Zhao's avatar Jondy Zhao

Do nor add route for myself.

parent d17fd223
...@@ -271,10 +271,7 @@ def main(): ...@@ -271,10 +271,7 @@ def main():
# not even remove it on exit. # not even remove it on exit.
subprocess.call(if_rt) subprocess.call(if_rt)
if_rt[4] = my_subnet if_rt[4] = my_subnet
if sys.platform == 'cygwin': cleanup.append(lambda: subprocess.call(if_rt))
ip('route', my_subnet, 'dev', config.main_interface)
else:
cleanup.append(lambda: subprocess.call(if_rt))
x = [my_network] x = [my_network]
if config.table: if config.table:
x += 'table', str(config.table) x += 'table', str(config.table)
......
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