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

(-)net-mgmt/coovachilli/Makefile (+1 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	coovachilli
8
PORTNAME=	coovachilli
9
PORTVERSION=	1.0.12
9
PORTVERSION=	1.0.12
10
PORTREVISION=	1
10
CATEGORIES=	net-mgmt
11
CATEGORIES=	net-mgmt
11
MASTER_SITES=	http://ap.coova.org/chilli/ \
12
MASTER_SITES=	http://ap.coova.org/chilli/ \
12
		http://www.geeklan.co.uk/files/ \
13
		http://www.geeklan.co.uk/files/ \
(-)net-mgmt/coovachilli/files/patch-conf_functions.in (-2 / +11 lines)
Lines 1-5 Link Here
1
--- conf/functions.in.orig	2009-01-10 17:55:30.000000000 +0000
1
--- conf/functions.in.orig	2008-04-13 15:58:32.000000000 +0100
2
+++ conf/functions.in	2009-01-10 17:56:42.000000000 +0000
2
+++ conf/functions.in	2009-10-12 18:08:23.000000000 +0100
3
@@ -4,7 +4,6 @@
3
@@ -4,7 +4,6 @@
4
 # Licensed under GPL. See http://coova.org/
4
 # Licensed under GPL. See http://coova.org/
5
 #
5
 #
Lines 17-19 Link Here
17
 HS_UAMPORT=${HS_UAMPORT:-3990}
17
 HS_UAMPORT=${HS_UAMPORT:-3990}
18
 HS_RADIUS=${HS_RADIUS:-$HS_UAMSERVER}
18
 HS_RADIUS=${HS_RADIUS:-$HS_UAMSERVER}
19
 HS_RADSECRET=${HS_RADSECRET:-$HS_UAMSECRET}
19
 HS_RADSECRET=${HS_RADSECRET:-$HS_UAMSECRET}
20
@@ -49,7 +46,7 @@
21
 HS_PAP_OK=${HS_PAP_OK:-on}
22
 HS_DNS1=${HS_DNS1:-$HS_DNS}
23
 HS_DNS1=${HS_DNS1:-$(grep '^nameserver' /etc/resolv.conf | head -n1 | awk '{print $2}')}
24
-HS_WANIF=${HS_WANIF:-$(route -n|grep '^0.0.0.0'|head -n1|awk '{print $8}')}
25
+HS_WANIF=${HS_WANIF:-$(netstat -rn|grep '^default'|head -n1|awk '{print $6}')}
26
 
27
 bailout() { echo $1; exit; }
28

Return to bug 139546