netifd-proto: add proto_config_add_array wrapper
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Feb 2018 08:57:47 +0000 (09:57 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 5 Feb 2018 20:35:38 +0000 (21:35 +0100)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
scripts/netifd-proto.sh

index cc7031a304de064aa72b825442ef348ad0b7ecc8..31df91f3847098694c23512ad4ecb2c47519e277 100644 (file)
@@ -16,6 +16,10 @@ proto_config_add_boolean() {
        config_add_boolean "$@"
 }
 
+proto_config_add_array() {
+       config_add_array "$@"
+}
+
 proto_config_add_defaults() {
        proto_config_add_boolean "defaultroute"
        proto_config_add_boolean "peerdns"