omshell "starts", "ends"
John Hascall
john at iastate.edu
Fri May 25 03:06:26 UTC 2007
> The man page for omshell says that both starts and ends are in hex and
> should represent the start and end time of the lease.
>
> I tried converting the number to decimal and then to a date... it
> wasn't even close.
>
> ends = 03:e2:56:46
> starts = "C9VF"
>
> $ ./cvtHex.pl 03:e2:56:46
> Converting 03e25646...
> dec = 65164870
> Mon Jan 24 21:21:10 1972
You've got the bytes backwards
0x4656E203 == 1180099075
Or about 10 hours from now.
John
More information about the dhcp-users
mailing list