[DragonFlyBSD - Submit #2889] (Closed) ifconfig command wrong inet6 lifetime values

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun May 8 13:19:11 PDT 2016


Issue #2889 has been updated by swildner.

Status changed from New to Closed

I pushed this, thanks Yann!


----------------------------------------
Submit #2889: ifconfig command wrong inet6 lifetime values
http://bugs.dragonflybsd.org/issues/2889#change-12874

* Author: ygrossel
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: Userland
* Target version: 
----------------------------------------
Hi,

Commit cec7392796354c53ac6469588a64f6536ed22659 (Sep 5 12:06:13 2013) changed
ia6t_vltime and ia6t_pltime to use time_uptime instead of time_second in sys/netinet6/in6.c

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

The attached patch fixes the issue. I have adapted it from FreeBSD r268049 [http://tinyurl.com/heudq3e].

Regards,

Yann Grossel


---Files--------------------------------
ifconfig.patch (2.24 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list