[Kea-users] lease_cmds doesn't return expiration time

Tim Howe tim.h at bendtel.com
Tue Apr 20 16:04:25 UTC 2021


Just to wrap this up.  It would appear from the code here:
https://gitlab.isc.org/isc-projects/kea/-/blob/master/src/hooks/dhcp/lease_cmds/lease_parser.cc#L201

	... that prefix-len is only returned if the type is IA_PD.  I
guess this means an NA always returns a /128.

So, only my original question remains.

--TimH

On Mon, 19 Apr 2021 16:36:32 -0700
Tim Howe <tim.h at bendtel.com> wrote:

> On Mon, 19 Apr 2021 16:11:18 -0700
> Tim Howe <tim.h at bendtel.com> wrote:
> 
> > Also doesn't show prefix length.  
> 
> 	OK, I take this part back...  It does show prefix length if it
> is other than 128 for IPv6.
> 
> If it is a single IP, then it omits 'prefix-len'.  I'm tempted to think
> this is a bug since it appears to be undocumented behavior.
> 


More information about the Kea-users mailing list