From 8088c571bedb50bf9aa8b959c0acda107691e2a4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 28 Sep 2009 13:38:54 +0000 Subject: Fixed bug with enable ifup/ifdown statements. Bumped to version 0.1.1 --- Makefile | 2 +- qos-model.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9016b4a..cd34df8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ APP_NAME=iproute2-qos PACKAGE=acf-$(APP_NAME) -VERSION=0.1.0 +VERSION=0.1.1 APP_DIST=\ qos* \ diff --git a/qos-model.lua b/qos-model.lua index 93eed04..81ba993 100644 --- a/qos-model.lua +++ b/qos-model.lua @@ -104,7 +104,7 @@ function enable(interface) end fs.write_file(conf, filecontent) end - local IFB_DEV = format.parse_ini_file(fs.read_file(conf) or "") or "" + local IFB_DEV = format.parse_ini_file(fs.read_file(conf) or "", "", "IFB_DEV") or "" modify_interfaces(interface, IFB_DEV) retval.value = "Enabled QOS on Interface" end -- cgit v1.2.3