During a discussion on IPv6 with Undeadly editor Ross Richardson, he
pointed out that ifconfig(8) doesn't mention the unit of the arguments
to the pltime and vltime options.  Here's a diff to fix that:


Index: ifconfig.8
===================================================================
RCS file: /home/OpenBSD/cvs/src/sbin/ifconfig/ifconfig.8,v
retrieving revision 1.305
diff -u -p -r1.305 ifconfig.8
--- ifconfig.8  16 Mar 2018 19:45:13 -0000      1.305
+++ ifconfig.8  5 May 2018 11:45:03 -0000
@@ -1197,7 +1197,9 @@ Fill the interface index
 .Pq the lowermost 64th bit of an IPv6 address
 automatically.
 .It Cm pltime Ar n
-Set preferred lifetime for the address.
+Set preferred lifetime for the address,
+.Ar n
+is given in seconds.
 .It Cm soii
 Enable persistent Semantically Opaque Interface Identifiers (SOIIs),
 as per RFC 7217, for link local and SLAAC addresses on the interface.
@@ -1219,7 +1221,9 @@ Set the IPv6 tentative address bit.
 .It Cm -tentative
 Clear the IPv6 tentative address bit.
 .It Cm vltime Ar n
-Set valid lifetime for the address.
+Set valid lifetime for the address,
+.Ar n
+is given in seconds.
 .El
 .Sh INTERFACE GROUPS
 .Nm ifconfig

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to