Mikolaj Kucharski <[email protected]> wrote:

> I took the libery and refreshed the patch. What I did so far:
> 
> - compiled GENERIC.MP on amd64
> - compiled new ifconfig, same arch
> - booted up new bsd.mp with the patch
> - when wgdesc is not set, pre-patch ifconfig seems to work
> - when with new ifconfig I set wgdesc, old ifconfig wg segfaults
> 
> Example from running -current:
> 
> pce-0067# ifconfig.new wg0 
> wg0: flags=80c3<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1420
>         index 8 priority 0 llprio 3
>         wgport 51820
>         wgpubkey qcb...
>         wgpeer klM...
>                 description: ks2
>                 wgpsk (present)
>                 wgpka 25 (sec)
>                 wgendpoint xxx.xxx.xxx.xxx 51820
>                 tx: 1932, rx: 620
>                 last handshake: 83 seconds ago
>                 wgaip fde4:f456:48c2:13c0::/64
>         groups: wg
>         inet6 fde4:f456:48c2:13c0::cc67 prefixlen 64

That seems disgustingly verbose to me.

Who is going to read it?

Shall we put all the active counters for normal ethernet/wifi into the
default ifconfig output, so that the default ifconfig output scrolls and
scrolls and scrolls and noone actually reads it?

I think this has gone off the rails.

Reply via email to