Re: ifconfig(8): pltime and vltime are measured in seconds

2018-05-05 Thread Jason McIntyre
On Sat, May 05, 2018 at 03:26:09PM +0200, Paul de Weerd wrote:
> Hi Jason,
> 
> Thanks for your reply.  Yes, that's better.  Here you go:
> 

fixed, thanks.
jmc

> 
> 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.816 Mar 2018 19:45:13 -  1.305
> +++ ifconfig.85 May 2018 13:25:12 -
> @@ -1197,7 +1197,7 @@ 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, 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 +1219,7 @@ 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, in seconds.
>  .El
>  .Sh INTERFACE GROUPS
>  .Nm ifconfig
> 
> -- 
> >[<++>-]<+++.>+++[<-->-]<.>+++[<+
> +++>-]<.>++[<>-]<+.--.[-]
>  http://www.weirdnet.nl/ 
> 



Re: ifconfig(8): pltime and vltime are measured in seconds

2018-05-05 Thread Klemens Nanni
On Sat, May 05, 2018 at 03:26:09PM +0200, Paul de Weerd wrote:
> Thanks for your reply.  Yes, that's better.  Here you go:
I agree, OK kn.



Re: ifconfig(8): pltime and vltime are measured in seconds

2018-05-05 Thread Jason McIntyre
On Sat, May 05, 2018 at 03:26:09PM +0200, Paul de Weerd wrote:
> Hi Jason,
> 
> Thanks for your reply.  Yes, that's better.  Here you go:
> 

ok me.
jmc

> 
> 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.816 Mar 2018 19:45:13 -  1.305
> +++ ifconfig.85 May 2018 13:25:12 -
> @@ -1197,7 +1197,7 @@ 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, 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 +1219,7 @@ 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, in seconds.
>  .El
>  .Sh INTERFACE GROUPS
>  .Nm ifconfig
> 
> -- 
> >[<++>-]<+++.>+++[<-->-]<.>+++[<+
> +++>-]<.>++[<>-]<+.--.[-]
>  http://www.weirdnet.nl/ 
> 



Re: ifconfig(8): pltime and vltime are measured in seconds

2018-05-05 Thread Paul de Weerd
Hi Jason,

Thanks for your reply.  Yes, that's better.  Here you go:


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 -  1.305
+++ ifconfig.8  5 May 2018 13:25:12 -
@@ -1197,7 +1197,7 @@ 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, 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 +1219,7 @@ 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, in seconds.
 .El
 .Sh INTERFACE GROUPS
 .Nm ifconfig

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



Re: ifconfig(8): pltime and vltime are measured in seconds

2018-05-05 Thread Jason McIntyre
On Sat, May 05, 2018 at 01:50:30PM +0200, Paul de Weerd wrote:
> 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:
> 

hi.

> 
> 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.816 Mar 2018 19:45:13 -  1.305
> +++ ifconfig.85 May 2018 11:45:03 -
> @@ -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.

could we get away with just

...for the address,
in seconds.

because i don;t like the sentence splice. if not, i guess

...for the address,
where
.Ar n
...

but i think it is clear enough to just say "in seconds".
jmc

>  .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/ 
> 



ifconfig(8): pltime and vltime are measured in seconds

2018-05-05 Thread Paul de Weerd
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 -  1.305
+++ ifconfig.8  5 May 2018 11:45:03 -
@@ -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/