hardcoded network interface name
Hi,
ip_tests.sh has hardcoded 'eth0', which doesn't work with biosdevname such as 'em', 'enp' etc. Do we have a canonical way to fix this kind of issue in LTP?
Thanks
Simon
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 3 lines · On Thu 27 Mar 2014 11:11:25 Simon Xu wrote:
ip_tests.shhas hardcoded 'eth0', which doesn't work with biosdevname such as 'em', 'enp' etc. Do we have a canonical way to fix this kind of issue in LTP?
rename your device ;)
i wonder if that script needs an external device ... a glance says no. so it'd probably be saner to:
- use lo instead of eth0
- change the 10.x addresses to 127.x
-mike
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list