Project

General

Profile

Actions

Submit #2889

closed

ifconfig command wrong inet6 lifetime values

Added by ygrossel about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Userland
Target version:
-
Start date:
02/14/2016
Due date:
% Done:

0%

Estimated time:

Description

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) ifconfig.patch ygrossel, 02/14/2016 01:30 PM
Actions #1

Updated by swildner almost 8 years ago

  • Status changed from New to Closed

I pushed this, thanks Yann!

Actions

Also available in: Atom PDF