diff options
author | Michael Landin <mich@FreeBSD.org> | 2008-07-10 20:43:55 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2008-07-10 20:43:55 +0000 |
commit | 1a670bfca1e33380d90d4bc935203409309263c8 (patch) | |
tree | 7f8ce2712aa135d3f1070739c49087215f1beb6e /net/apinger | |
parent | f321455850db2cfda7c611361d7d2f10afc3597a (diff) | |
download | ports-1a670bfca1e33380d90d4bc935203409309263c8.tar.gz ports-1a670bfca1e33380d90d4bc935203409309263c8.zip |
Notes
Diffstat (limited to 'net/apinger')
-rw-r--r-- | net/apinger/files/patch-src_apinger.h | 11 | ||||
-rw-r--r-- | net/apinger/files/patch-src_main.c | 20 |
2 files changed, 31 insertions, 0 deletions
diff --git a/net/apinger/files/patch-src_apinger.h b/net/apinger/files/patch-src_apinger.h new file mode 100644 index 000000000000..417fa0908be2 --- /dev/null +++ b/net/apinger/files/patch-src_apinger.h @@ -0,0 +1,11 @@ +--- src/apinger.h.old 2008-07-10 22:38:08.000000000 +0200 ++++ src/apinger.h 2008-07-10 22:38:29.000000000 +0200 +@@ -119,7 +119,7 @@ + + extern int icmp_sock; + extern int icmp6_sock; +-extern int ident; ++extern uint16_t ident; + + extern struct timeval next_probe; + diff --git a/net/apinger/files/patch-src_main.c b/net/apinger/files/patch-src_main.c new file mode 100644 index 000000000000..7902e4a0b53d --- /dev/null +++ b/net/apinger/files/patch-src_main.c @@ -0,0 +1,20 @@ +--- src/main.c.old 2008-07-10 22:36:21.000000000 +0200 ++++ src/main.c 2008-07-10 22:36:53.000000000 +0200 +@@ -96,7 +96,7 @@ + + int icmp_sock; + int icmp6_sock; +-int ident; ++uint16_t ident; + + struct timeval next_probe={0,0}; + +@@ -277,7 +277,7 @@ + return 1; + } + +- ident=getpid(); ++ ident=getpid() & 0xFFFF; + signal(SIGTERM,signal_handler); + signal(SIGINT,signal_handler); + signal(SIGHUP,signal_handler); |