Terry Carney wrote:
> On Fri, 4 Feb 2000, Dmitry Gercog wrote:
>
> > Hi, all!
> >
> > Please help:
> > need get remote ip addres in ip_up_hook.
>
> A sample from an ip-up script:
>
> My PPP install (2.3.5) calls this script with the following arguments
> when connected:
>
> Arg Name Example
> $1 Interface name ppp0
> $2 The tty ttyS1
> $3 The link speed 38400
> $4 Local IP number 12.34.56.78
> $5 Peer IP number 12.34.56.99
> $6 Optional ``ipparam'' value foo
>
> The ip-down script is called with the same parameters.
>
> Hope this helps.
>
It's right.
But, need get ip addres in my plugin for pppd
in function "void ip_up_hook(void)".
Dmitry Gercog.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]