OMAPI: local-stos time values

Matt Causey matt.causey at gmail.com
Wed Apr 15 11:09:25 UTC 2009


Sorry, uhh...yeah.  If I just strip the : delimiters, the hex value
converts nicely to a GMT unix time string....please disregard the lame
question.

--
Matt

On Wed, Apr 15, 2009 at 11:42 AM, Matt Causey <matt.causey at gmail.com> wrote:
> Hi all,
>
> OK - I am sure I'm being dense, or this is just some standard time
> format of which I am unaware....but I cannot seem to find this
> documented anywhere.  When I evaluate this OMAPI output:
>
> local-stos = 49:e5:b6:ee
>
> How do I convert this to some human-readable, or script evaluational
> format?  I can do this:
>
> print join('.', map { hex $_ } split(/:/, "$hex_timestamp"));
>
> which gets me:
>
> hex: 49:e5:b6:ee.
> decimal: 73.229.182.238
>
> The man page just says "Indicates the time at which the DHCP server
> entered its present state in this failover relationship. "
>
> I was thinking it could be DD:HH:MM:SS ... but that doesn't really
> work out in decimal, for obvious reasons...
>
> Thanks!
>
> --
> Matt
>



More information about the dhcp-users mailing list