vpslijie / chnroutes

Automatically exported from code.google.com/p/chnroutes
0 stars 0 forks source link

[BUG]Ubuntu 11.10获取路由设备名称失败。 #55

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
ip-pre-up中使用sed获取路由设备中,其默认格式为default via 
...。但是在我的Ubuntu 11.10 64bit,其格式应该为default dev ...。

将via修改为dev即可正确解析ip route 
show的输出结果,进而获得路由设备名称。

Original issue reported on code.google.com by zym00...@gmail.com on 7 Mar 2012 at 1:25

Attachments: