[arch-projects] [netctl][PATCH] mobile_ppp: quote "IP" argument to AT+CGDCONT
26 Feb
2015
26 Feb
'15
9:29 a.m.
This fixes https://bugs.archlinux.org/task/43931 --- src/lib/connections/mobile_ppp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/connections/mobile_ppp b/src/lib/connections/mobile_ppp index 40750d8..169837b 100644 --- a/src/lib/connections/mobile_ppp +++ b/src/lib/connections/mobile_ppp @@ -64,7 +64,7 @@ TIMEOUT 3 GPRSonly) printf "\^SYSCFG=13,1,3fffffff,0,0";; GPRSpref) printf "\^SYSCFG=2,1,3fffffff,0,0";; esac)' -${AccessPointName:+'OK-AT-OK' 'AT+CGDCONT=1,"IP",$(quote_word "$AccessPointName")'} +${AccessPointName:+'OK-AT-OK' 'AT+CGDCONT=1,$(quote_word "IP"),$(quote_word "$AccessPointName")'} 'OK' 'ATDT${PhoneNumber:-*99#}' TIMEOUT 30 CONNECT '' -- 2.3.0
3591
Age (days ago)
3591
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan Böcker