On Wed, Nov 17, 2021 at 08:51:38AM +0100, Bjorn Ketelaars wrote: > Like umb(4), sppp(4) natively learns DNS information. Among the > differences between these two devices is that umb prints this > information from ifconfig(8) and sppp does not. I would like to equalize > this behaviour, and add the necessary bits to sppp(4) and ifconfig(8). > > Diff below is largely based on a diff from Peter J. Philipp [0]. > > Comments/OK? > > [0] https://marc.info/?l=openbsd-tech&m=159405677416423&w=2
Works for me, ifconfig bits don't effect SMALL build and output looks like umb: pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492 description: 1und1 VDSL2 index 7 priority 0 llprio 3 dev: vlan7 state: session sid: 0x47a6 PADI retries: 0 PADR retries: 0 time: 19d 05:13:56 sppp: phase network authproto pap authname "..." dns: 82.145.9.8 82.144.41.8 groups: pppoe wan egress status: active inet6 fe80::618:d6ff:fea0:884e%pppoe0 --> prefixlen 64 scopeid 0x7 inet ... --> ... netmask 0xffffffff OK kn