Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On 13/09/2016 15:42, Roy Marples wrote:
> OK, I've had a quick look over the code.
> It looks like IFF_RUNNING is used to indicate whether a PPP session is
> currently running or not as opposed to hardware resources being allocated.
> 
> It strikes me that the easiest fix is to set IFF_RUNNING before calling
> ifioctl_common if going_up and clear it if there is an error.
> 
> We should also hook the interface link state code into ppp as well
> because we should know when the link is ready for use.
> 
> Any reason why this cannot be done?

Joerg already commited code to change link_status which should fix this
problem.
Here's a patch which Joerg did and I changed so that ifconfig can report
the link status.

http://www.netbsd.org/~roy/ppp_link.patch

Roy


Home | Main Index | Thread Index | Old Index