ifconfig(8): Adjust for cec7392796354.
authorSascha Wildner <saw@online.de>
Sun, 8 May 2016 06:54:26 +0000 (08:54 +0200)
committerSascha Wildner <saw@online.de>
Sun, 8 May 2016 19:13:11 +0000 (21:13 +0200)
commit65c2d39e7f3cc99c02d0d9940d42c7289545880d
tree9f76411d5c85d8d6c927c08e09823dd6c7292046
parent1e5a476188185cf1161f4fe3ffc060465562ef0d
ifconfig(8): Adjust for cec7392796354.

Commit cec7392796354c53ac6469588a64f6536ed22659 changed ia6t_vltime
and ia6t_pltime to use time_uptime instead of time_second in
sys/netinet6/in6.c.

This change had not been reflected in the userland 'ifconfig'
command which still tried to interpret inet6 vltime and pltime
values as wall clock seconds.

The commit fixes the issue. It was adapted from FreeBSD r268049.

Submitted-by: Yann Grossel
Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2889>
sbin/ifconfig/af_inet6.c