]> git.ozlabs.org Git - ppp.git/commit
pppd: allow use of arbitrary interface names
authorPaul Mackerras <paulus@samba.org>
Tue, 23 Aug 2016 06:10:21 +0000 (16:10 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 23 Aug 2016 06:10:21 +0000 (16:10 +1000)
commitbbcdc4366bbee6c3f4e1ddda31e4eec8c1b3ccc2
treec8953650f2a3090fba41929ef8662f4879284e53
parent733c00a6ce0244ba5003f4f71a014db8200a30fe
pppd: allow use of arbitrary interface names

This is a modified version of a patch from openSUSE that enables PPP interfaces
to be called arbitrary names, rather than simply pppX where X is the unit
number.

The modifications from the stock openSUSE patch are:
- refresh patch on top of 018_ip-up_option.diff
- fix a printf format-string vulnerability in pppd/main.c:set_ifunit()
- clarify the pppd.8 manpage additions
- patch pppstats/pppstats.c to query renamed interfaces without complaint

Origin: SUSE
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=458646
Forwarded: no
Reviewed-by: Chris Boot <bootc@debian.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
pppd/main.c
pppd/options.c
pppd/pppd.8
pppd/pppd.h
pppd/sys-linux.c
pppstats/pppstats.c