diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-09-20 21:37:35 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-09-21 09:36:46 +0200 |
commit | 6197f02044e2fe6689b52dad0a0c75bdc0eb185b (patch) | |
tree | 73f525c5743b5e7e906b9e0b9a852bdeb161168b /proto_vlan_q_in_q.c | |
parent | 4829ae377acc30222c3866eb67082d7cf15c73f1 (diff) |
mz: Check device argument by ifindex instead of name prefix
Check device argument by valid ifindex instead of guessing it by
different device name prefixes like "eth", "ath", "ens", "enp".
Use __device_ifindex(...) function for this, which needs to
add few more dependencies like sock.o, link.o to the Makefile for
mausezahn.
Closes #159
Suggested-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_vlan_q_in_q.c')
0 files changed, 0 insertions, 0 deletions