(get_ifconf): Set MTU for loopback to more correct value.
This commit is contained in:
parent
bcdf742178
commit
0a9e977f62
|
@ -1,3 +1,7 @@
|
|||
2007-01-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
(get_ifconf): Set MTU for loopback to more correct value.
|
||||
|
||||
2007-01-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_socket.cc (fhandler_socket::ioctl): Don't fake results
|
||||
|
|
|
@ -1744,8 +1744,8 @@ get_ifconf (struct ifconf *ifc, int what)
|
|||
ifr->ifr_metric = 1;
|
||||
break;
|
||||
case SIOCGIFMTU:
|
||||
/* Default value for loopback on Linux 2.6 kernel. */
|
||||
ifr->ifr_mtu = 16436;
|
||||
/* Default value for MS TCP Loopback interface. */
|
||||
ifr->ifr_mtu = 1520;
|
||||
break;
|
||||
default:
|
||||
set_errno (EINVAL);
|
||||
|
|
Loading…
Reference in New Issue