diff options
| author | Sofian Brabez <sbz@FreeBSD.org> | 2014-05-30 14:08:43 +0000 |
|---|---|---|
| committer | Sofian Brabez <sbz@FreeBSD.org> | 2014-05-30 14:08:43 +0000 |
| commit | c113e1c847e572fe7278808ae8fbf18483e79801 (patch) | |
| tree | af2ef496d0395bb66fb62c1dfd76102fe893090d /net/py-libnet/files/patch-src__builders.c | |
| parent | Update to version 1.8.1. (diff) | |
- Support STAGEDIR
- Add LICENSE
- Fix build for amd64
Diffstat (limited to 'net/py-libnet/files/patch-src__builders.c')
| -rw-r--r-- | net/py-libnet/files/patch-src__builders.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/py-libnet/files/patch-src__builders.c b/net/py-libnet/files/patch-src__builders.c new file mode 100644 index 000000000000..4b49fd685f3d --- /dev/null +++ b/net/py-libnet/files/patch-src__builders.c @@ -0,0 +1,15 @@ +--- ./src/builders.c.orig 2014-05-30 12:55:10.000000000 +0200 ++++ ./src/builders.c 2014-05-30 13:00:15.000000000 +0200 +@@ -722,9 +722,9 @@ + u_int16_t sum = 0; + u_int16_t id = PYLIBNET_RANDOM_U16; + u_int16_t seq = PYLIBNET_RANDOM_U16; +- n_time otime = PYLIBNET_RANDOM_U32; +- n_time rtime = PYLIBNET_RANDOM_U32; +- n_time ttime = PYLIBNET_RANDOM_U32; ++ u_int32_t otime = PYLIBNET_RANDOM_U32; ++ u_int32_t rtime = PYLIBNET_RANDOM_U32; ++ u_int32_t ttime = PYLIBNET_RANDOM_U32; + u_int8_t *payload = NULL; + u_int32_t payload_s = 0; + libnet_ptag_t ptag = 0; |
