[Bug 231381] /usr/sbin/ppp: INTERFACE variable not expanded when used in !bg statement
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 15 12:13:08 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231381
Bug ID: 231381
Summary: /usr/sbin/ppp: INTERFACE variable not expanded when
used in !bg statement
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: ohartmann at walstatt.org
Utiliszing a simple logging of IP addresses and interface used via
/etc/ppp/ppp.linkup, it has been revealed that in contrary to the manpage
ppp(8), the variable INTERFACE is not substituted as MYADDR, MYADDR6, HISADDR,
HISADDR6 is.
This following simple background statement shows the problem:
!bg /usr/bin/logger -s -t ppp -p user.warning "Link up (INTERFACE):
my-isp-name inet: MYADDR inet6: MYADDR6"
While MYADDR and MYADDR6 are substituted by the appropriate IPv4/IPv6
addresses, INTERFACE stays as it is but I would expect /dev/tun0 or tun0.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list