View | Details | Raw Unified | Return to bug 59175
Collapse All | Expand All

(-)bandwidthd/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	bandwidthd
8
PORTNAME=	bandwidthd
9
PORTVERSION=	1.1.5
9
PORTVERSION=	1.1.6
10
CATEGORIES=	net
10
CATEGORIES=	net
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
(-)bandwidthd/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (bandwidthd-1.1.5.tgz) = a1376f78f7f3414bb95ce76f1a9deac7
1
MD5 (bandwidthd-1.1.6.tgz) = 0255e5c61cacf0e283da620c2e8ec712
(-)bandwidthd/files/patch-bandwidthd.c (-6 / +6 lines)
Lines 1-6 Link Here
1
--- bandwidthd.c.orig	Fri Oct 10 20:22:39 2003
1
--- bandwidthd.c.orig	Mon Nov 10 17:16:04 2003
2
+++ bandwidthd.c	Sun Nov  2 12:21:17 2003
2
+++ bandwidthd.c	Tue Nov 11 13:52:27 2003
3
@@ -114,7 +114,11 @@
3
@@ -129,7 +129,11 @@
4
 			}
4
 			}
5
 		else
5
 		else
6
 			{
6
 			{
Lines 12-23 Link Here
12
 			exit(1);
12
 			exit(1);
13
 			}
13
 			}
14
 		}
14
 		}
15
@@ -244,7 +248,7 @@
15
@@ -264,7 +268,7 @@
16
             tcp = (struct tcphdr *)(ip+1);
16
             tcp = (struct tcphdr *)(ip+1);
17
 			tcp = (struct tcphdr *) ( ((char *)tcp) + ((ip->ip_hl-5)*4) ); // Compensate for IP Options
17
 			tcp = (struct tcphdr *) ( ((char *)tcp) + ((ip->ip_hl-5)*4) ); // Compensate for IP Options
18
             Stats->tcp += size;
18
             Stats->tcp += size;
19
-#ifdef SOLARIS
19
-#if defined(SOLARIS)
20
+#if defined(SOLARIS) || defined(FREEBSD)
20
+#if defined(SOLARIS) || defined (FREEBSD)
21
             sport = ntohs(tcp->th_sport);
21
             sport = ntohs(tcp->th_sport);
22
             dport = ntohs(tcp->th_dport);			
22
             dport = ntohs(tcp->th_dport);			
23
 #else
23
 #else

Return to bug 59175