Júlíus Þór Bess Ríkharðsson wrote:
> I have put together a small python script using some VB code I found on a 
> website. This is the conversion function:

  Thanks.

  In v3 (soon, soon, dang it), this won't be necessary.  You can unpack
the 4-byte IP address directly via:

        # assume MS-RADIUS-Framed-IP-Address
        # is "octets", and 4 bytes long

        update reply {
                Framed-IP-Address = &MS-RADIUS-Framed-IP-Address
        }

  And the 4 bytes of data will magically become a Framed-IP-Address.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to