OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2036083
)
(get_ifconf): Set MTU for loopback to more correct value.
author
corinna
<corinna>
Thu, 4 Jan 2007 10:48:57 +0000
(10:48 +0000)
committer
corinna
<corinna>
Thu, 4 Jan 2007 10:48:57 +0000
(10:48 +0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/net.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
7acd568
..
80d012b
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-1,5
+1,9
@@
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
for SIOCGIFFLAGS here. Call get_ifconf instead.
* net.cc (get_2k_ifconf): Clean up code to generate interface name.
diff --git
a/winsup/cygwin/net.cc
b/winsup/cygwin/net.cc
index
83c634b
..
f70618d
100644
(file)
--- 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 = 1
6436
;
+ /* Default value for
MS TCP Loopback interface
. */
+ ifr->ifr_mtu = 1
520
;
break;
default:
set_errno (EINVAL);