diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-05 08:50:19 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-05 08:50:19 +0000 |
commit | e81d45a13f3a82aee6d2ac5b359dab0413a3c673 (patch) | |
tree | 941666b035526f91d56fa3a5d260406cd0fda8f2 /net/bandwidthd/files/patch-bandwidthd.c | |
parent | - fixes a comment that did no longer match. (diff) |
- Update to version 1.1.7
PR: 59967
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=95111
Diffstat (limited to 'net/bandwidthd/files/patch-bandwidthd.c')
-rw-r--r-- | net/bandwidthd/files/patch-bandwidthd.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/net/bandwidthd/files/patch-bandwidthd.c b/net/bandwidthd/files/patch-bandwidthd.c deleted file mode 100644 index 7b39e3104885..000000000000 --- a/net/bandwidthd/files/patch-bandwidthd.c +++ /dev/null @@ -1,23 +0,0 @@ ---- bandwidthd.c.orig Mon Nov 10 17:16:04 2003 -+++ bandwidthd.c Tue Nov 11 13:52:27 2003 -@@ -129,7 +129,11 @@ - } - else - { -+#ifndef FREEBSD - printf("My shared memory segment %d is already in use (%ld locks), perhaps bandwidthd is already running in this directory?\n", shmid, shmstatus.shm_nattch); -+#else -+ printf("My shared memory segment %d is already in use (%hd locks), perhaps bandwidthd is already running in this directory?\n", shmid, shmstatus.shm_nattch); -+#endif - exit(1); - } - } -@@ -264,7 +268,7 @@ - tcp = (struct tcphdr *)(ip+1); - tcp = (struct tcphdr *) ( ((char *)tcp) + ((ip->ip_hl-5)*4) ); // Compensate for IP Options - Stats->tcp += size; --#if defined(SOLARIS) -+#if defined(SOLARIS) || defined (FREEBSD) - sport = ntohs(tcp->th_sport); - dport = ntohs(tcp->th_dport); - #else |