Open GoogleCodeExporter opened 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
zym00...@gmail.com
Attachments:
Original issue reported on code.google.com by
zym00...@gmail.com
on 7 Mar 2012 at 1:25Attachments: