diff --git a/.gitignore b/.gitignore index 37ef9b0..fe9ea14 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,7 @@ dhcp-server.pot autom4te.cache Makefile.am.common *.ami -doc/autodocs/*.html +doc/autodocs/ /testsuite/config/ /testsuite/run/ doc/autodocs/.yardoc/ @@ -27,8 +27,10 @@ doc/autodocs/Yast/ doc/autodocs/css/ doc/autodocs/js/ testsuite/*.exp -testsuite/tmp.err.* +testsuite/*.err.* testsuite/tmp.out.* testsuite/*.log testsuite/yast2-dhcp-server.sum testsuite/yast2-dhcp-server.test/ +.yardoc +/coverage diff --git a/.yardopts b/.yardopts new file mode 100644 index 0000000..75b10d4 --- /dev/null +++ b/.yardopts @@ -0,0 +1,7 @@ +--no-private +--markup markdown +--protected +--readme README.md +--output-dir ./doc/autodocs +--files *.md +src/**/*.rb diff --git a/package/yast2-dhcp-server.changes b/package/yast2-dhcp-server.changes index 6770cd4..5a6961a 100644 --- a/package/yast2-dhcp-server.changes +++ b/package/yast2-dhcp-server.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Aug 6 11:58:58 UTC 2019 - Knut Anderssen + +- Fix the check of the 'key' and 'value' options when modifying the + configuration using the CLI. (bsc#1144351) +- 3.2.3 + ------------------------------------------------------------------- Wed Jan 18 11:52:24 UTC 2017 - lslezak@suse.cz diff --git a/package/yast2-dhcp-server.spec b/package/yast2-dhcp-server.spec index 9b9b4ec..c382663 100644 --- a/package/yast2-dhcp-server.spec +++ b/package/yast2-dhcp-server.spec @@ -17,7 +17,7 @@ Name: yast2-dhcp-server -Version: 3.2.2 +Version: 3.2.3 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff --git a/src/include/dhcp-server/commandline.rb b/src/include/dhcp-server/commandline.rb index 17390c9..0501ccd 100644 --- a/src/include/dhcp-server/commandline.rb +++ b/src/include/dhcp-server/commandline.rb @@ -439,8 +439,8 @@ def OptionsHandler(options) return false end if Builtins.haskey(options, "set") - key = Ops.get_string(options2, "key", "") - value = Ops.get_string(options2, "value", "") + key = Ops.get_string(options, "key", "") + value = Ops.get_string(options, "value", "") if key == "" # command-line error report CommandLine.Print(_("Option key must be set."))