Re: diald and ppp under 2.3.18

Mike Jagdis (mike@roan.co.uk)
Fri, 22 Oct 1999 10:45:14 +0100 (GMT/BST)


On 22 Oct 1999 inr-linux-kernel@ms2.inr.ac.ru wrote:

> The following feature appeared in the new version of ppp driver.
>
> diald uses ioctl PPPIOCGUNIT on terminal device to get the ppp unit
> number attached to the terminal. In the new ppp driver there is no
> such ioctl in ppp_async.c. I solved the problem so far by simply
> adding this ioctl to ppp_async, but I am not quite sure it is a good
> solution. Is there any another method to deal with this problem, or
> this ioctl was simply forgotten?

This is essential. Without it only pppd can know what unit was
allocated for a particular line. Without knowing the unit we
cannot know which interface we have just started.

Mike

-- 
         Failure isn't an option - it's built in to Windows
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  2 Markham Mews, Broad Street |  Telephone:  +44 118 989 0403        |
|  Wokingham ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/