Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2018 12:13:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 231381] /usr/sbin/ppp: INTERFACE variable not expanded when used in !bg statement
Message-ID:  <bug-231381-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231381

            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@FreeBSD.org
          Reporter: ohartmann@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, HISAD=
DR,
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231381-227>