From a6e7b3cffeaf69fbb0f9fb20f102849dca9d1340 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 14 May 2012 20:58:27 +0000
Subject: [PATCH] netifd: use the new json_get_vars function in the dhcp helper
 script

SVN-Revision: 31727
---
 package/netifd/files/lib/netifd/proto/dhcp.sh | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 5219029ff3..eab14627f6 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -18,12 +18,7 @@ proto_dhcp_setup() {
 	local config="$1"
 	local iface="$2"
 
-	json_get_var ipaddr ipaddr
-	json_get_var hostname hostname
-	json_get_var clientid clientid
-	json_get_var vendorid vendorid
-	json_get_var broadcast broadcast
-	json_get_var reqopts reqopts
+	json_get_vars ipaddr hostname clientid vendorid broadcast reqopts
 
 	local opt dhcpopts
 	for opt in $reqopts; do
-- 
2.30.2