diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-01-04 13:48:57 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-01-04 13:48:57 +0300 |
commit | 0a9e977f62696470a24ec8aca12b1a4b434fa2a6 (patch) | |
tree | a13a9725f7859a89242146c5a4d796da175d27fe /winsup/cygwin/net.cc | |
parent | bcdf742178d44fde6208e5687858ee409737966d (diff) |
(get_ifconf): Set MTU for loopback to more correct value.
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r-- | winsup/cygwin/net.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index 83c634b90..f70618d22 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -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); |