]> git.ozlabs.org Git - ppp.git/commit
pppoe-discovery: Do not set eth0 as default interface
authorPali Rohár <pali@kernel.org>
Tue, 21 Dec 2021 15:00:18 +0000 (16:00 +0100)
committerPali Rohár <pali@kernel.org>
Tue, 21 Dec 2021 15:00:18 +0000 (16:00 +0100)
commit199a82df0d026850107ae2a7caff4d5b755413b5
treebd453af0bf8a5cbef85a9f5f4e950f8b1677159f
parentef301cf2637ba85a9d33e368ba0417a9fed190bb
pppoe-discovery: Do not set eth0 as default interface

On most Linux systems there is no network interface with name eth0.

So rather make -I interface option as mandatory and do not rely on some
default hardcoded interface name.

Signed-off-by: Pali Rohár <pali@kernel.org>
pppd/plugins/pppoe/pppoe-discovery.8
pppd/plugins/pppoe/pppoe-discovery.c