diff options
author | Florian Westphal <fw@strlen.de> | 2016-10-16 22:08:25 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2016-10-17 11:52:19 +0200 |
commit | f55ccf9ea1061f8e50065c0cc6b3ed93523f0b97 (patch) | |
tree | 761e8f85b009c8e57aaacd850880e3d1c6cd9536 /tests/py/ip/hash.t | |
parent | 739a2da1f442c447ffc8151c64fe197a4e58cd16 (diff) |
meta: permit numeric interface type
If we can't translate an interface index back to a name
we just print the number.
This change allows using a number instead of an interface index to
make this symmetric.
If we can't find an interface with the given name check
if its a numeric string and then use it instead.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/hash.t')
0 files changed, 0 insertions, 0 deletions