]> git.ozlabs.org Git - ppp.git/commit - pppd/plugins/rp-pppoe/pppoe-discovery.c
pppoe-discovery: use correct exit code depending on PADO replies.
authorMartin Schiller <ms@dev.tdt.de>
Thu, 7 Dec 2017 07:55:53 +0000 (08:55 +0100)
committerMartin Schiller <ms@dev.tdt.de>
Mon, 11 Dec 2017 12:51:30 +0000 (13:51 +0100)
commitbb65ff8830596e22d5f6c4c66274ddd726545c85
treeebce355f29b97b41b2d50f9a08c4077038a89d61
parentac682de4ec32d4cc8859b31366023e28012e23e6
pppoe-discovery: use correct exit code depending on PADO replies.

This makes it possible to evaluate the exit code of the tool,
e.g. if you just want to know if there is an access concentrator
or not.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
pppd/plugins/rp-pppoe/pppoe-discovery.c