commit | 940a96e6ca9a14cd52c97a719a1700b417adb2fb | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Mon Sep 21 21:33:01 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Wed Sep 23 16:00:48 2015 -0700 |
tree | 8b4747d458648bc4ecec46a8c258bd1303e666a8 | |
parent | e4ef49a465969a68704dbcfec43baa7f874f59ff [diff] |
ip-link: do not support 'ip link add dev help' Commit 0532555 ('Support "ip link add help" for rtnl_link API') added a check for specified help parameter. Though due to the place where it has been added to, it is not possible anymore to force a given parameter to be interpreted as interface name by prefixing it with 'dev '. Fix this by forcing whatever follows 'dev' to be presumed as interface name. Signed-off-by: Phil Sutter <phil@nwl.cc>