mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 08:36:24 +00:00
FRITZBOX: tr064Command with quoted strings
git-svn-id: https://svn.fhem.de/fhem/trunk@11271 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b8bb4bd8d9
commit
9b7684e4a7
@ -584,7 +584,9 @@ sub FRITZBOX_Get($@)
|
||||
#get Fritzbox tr064command InternetGatewayDevice:1 deviceinfo GetInfo
|
||||
#get Fritzbox tr064command LANEthernetInterfaceConfig:1 lanethernetifcfg GetStatistics
|
||||
Log3 $name, 3, "FRITZBOX: get $name $cmd ".join(" ", @val);
|
||||
|
||||
my ($a, $h) = parseParams( join (" ", @val) );
|
||||
@val = @$a;
|
||||
#{ use Data::Dumper;; Dumper parseParams("{ a;;b };;c;;{ d;;e }", ';;') }
|
||||
return "Wrong number of arguments, usage: get $name tr064command service control action [argName1 argValue1] [argName2 argValue2] ..."
|
||||
if int @val <3 || int(@val) %2 !=1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user