omshell "starts", "ends"
Craig
craig5 at pobox.com
Fri May 25 03:11:35 UTC 2007
Ah... should have tried that...
Any idea what the following means:
starts = "C9VF"
Thanx for your help!
John Hascall wrote:
>> 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