Re: net_mask 255.255.255.255

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

 



On Wed, 9 Jul 2008, Nicholas Hickman wrote:

What is the reason for the lines 2362 & 2363 in sys-linux.c?  Why not
just accept the netmask option from the peer config?


/*
*  Set the netmask.
*  For recent kernels, force the netmask to 255.255.255.255.
*/
   if (kernel_version >= KVERSION(2,1,16))
	net_mask = ~0L;

Because ppp is a point to point protocol-- it connects two specific
machines together. It does not do network routing. You can of course then
do routing over that connection, but the ppp connection itself is purely
point to point.

--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux