mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
- Add DOCS option, enabled by default - Move docs from pkg-plist to PORTDOCS - Use IPV6_CONFIGURE_ENABLE knob - Make rclint happy - Regenerate patches with make makepatch - Add @sample to apinger.conf - Bump PORTREVISION due to rc script changei PR: ports/204465 Submitted by: garga Sponsored by: Rubicon Communications (Netgate)
20 lines
423 B
C
20 lines
423 B
C
--- src/main.c.orig 2003-03-26 11:27:47 UTC
|
|
+++ src/main.c
|
|
@@ -96,7 +96,7 @@ char *config_file=CONFIG;
|
|
|
|
int icmp_sock;
|
|
int icmp6_sock;
|
|
-int ident;
|
|
+uint16_t ident;
|
|
|
|
struct timeval next_probe={0,0};
|
|
|
|
@@ -277,7 +277,7 @@ char *graph_location="/apinger/";
|
|
return 1;
|
|
}
|
|
|
|
- ident=getpid();
|
|
+ ident=getpid() & 0xFFFF;
|
|
signal(SIGTERM,signal_handler);
|
|
signal(SIGINT,signal_handler);
|
|
signal(SIGHUP,signal_handler);
|