On Fri, 10 Sep 1999, Gary wrote:
>After much playing, I just want to confirm...
>
>
>#
>test1 Password = "*******",
> Calling-Station-Id = /740+/,
> Expiration = "Dec 31 2000",
> Called-Station-Id = /4044718+/,
> Time = "WkSa0830-2300",
> Service-Type = Framed-User
> Framed-Protocol = PPP,
> Framed-IP-Address = 203.56.136.7,
> Session-Timeout = until 1800,
> Idle-Timeout = 0
>#
The only problems I see, are the regexps for the 'Station-Id' items... It
doesn't seem like they do what you may expect. The /740+/ would match any
number that contains 74 followed by 1 or more 0s. It seems to me that you
would want something more like /^740.+/ that identifies a number as
*starting* with 740, followed by one or more other character. Likewise
for /4044718+/, which matches anything that *contains* 404471 followed by
one or more 8s, where I would expect you'd want /^4044718.+/ to match
numbers that *start* with 4044718 and continue with any other characters.
>Basically, the check items end at the line "Service-Type" as there is
>no comma on the end and the rest will be reply items.
That part looks great. :-)
===========================================================
David M. Lloyd mailto:[EMAIL PROTECTED]
Administrator
Internet Express, Inc.
802 W. Broadway, Suite 0101
Madison, WI. 53713-1866
Voice: (608) 663-5555 http://www.inxpress.net
Fax: (608) 663-5595 mailto:[EMAIL PROTECTED]
Data: (608) 663-5551 mailto:[EMAIL PROTECTED]
===========================================================
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.