Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 185262 Details for
Bug 262765
net-misc/nstx: init scripts, qa fixes, enhancements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to print a warning when we couldn't write() enough bytes to the tunnel
nstx-1.1_beta6_02-warn-on-frag.patch (text/plain), 736 bytes, created by
Steve Brudenell
on 2009-03-17 04:35:04 UTC
(
hide
)
Description:
patch to print a warning when we couldn't write() enough bytes to the tunnel
Filename:
MIME Type:
Creator:
Steve Brudenell
Created:
2009-03-17 04:35:04 UTC
Size:
736 bytes
patch
obsolete
>Only in nstx-1.1-beta6.orig/: nstx_dns.o >Only in nstx-1.1-beta6.orig/: nstx_encode.o >Only in nstx-1.1-beta6.orig/: nstx_pstack.o >diff -ru nstx-1.1-beta6.orig/nstx_tuntap.c nstx-1.1-beta6/nstx_tuntap.c >--- nstx-1.1-beta6.orig/nstx_tuntap.c 2009-03-16 23:56:02.000000000 +0000 >+++ nstx-1.1-beta6/nstx_tuntap.c 2009-03-17 00:06:00.000000000 +0000 >@@ -274,7 +274,13 @@ > sendtun(const char *data, size_t len) > { > // printf("Sent len %d, csum %d\n", len, checksum(data, len)); >- write(tfd, data, len); >+ size_t w = write(tfd, data, len); >+ >+ if (w < len) { >+ fprintf(stderr, "packet was descrutively fragmented! (len=%zd, " >+ "wrote=%zd)\n", >+ len, w); >+ } > } > > void >Only in nstx-1.1-beta6.orig/: nstxd.o
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262765
:
185257
|
185259
|
185261
| 185262 |
185264
|
185266
|
185267
|
185268
|
185269
|
185271
|
185275