use netlink instead of executing system commands
Using netlink is more efficient than executing system commands.
Also ifconfig
is deprecated. It is better not to use it.
Using netlink is more efficient than executing system commands.
Also ifconfig
is deprecated. It is better not to use it.