From e81d45a13f3a82aee6d2ac5b359dab0413a3c673 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Fri, 5 Dec 2003 08:50:19 +0000 Subject: - Update to version 1.1.7 PR: 59967 Submitted by: maintainer --- net/bandwidthd/files/patch-bandwidthd.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 net/bandwidthd/files/patch-bandwidthd.c (limited to 'net/bandwidthd/files/patch-bandwidthd.c') 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 -- cgit v1.2.3