From ed59098b70e104642749cf01d8dfb8d4dc7983c7 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 20 Sep 2015 09:31:55 +0200 Subject: [PATCH] config: strip harmess transformations from sample o comment blocks filled arrays disappear o empty array tags disappear o empty value tags collapse This only leaves comment blocks in empty tags, which create whitespace noise, which fucks up the config.xml real bad, rippling through to the code that deal with is_array, isset and actual = array() assignments to fix the faulty config. Will clean this up one by one later. --- src/etc/config.xml.sample | 143 +++----------------------------------- 1 file changed, 10 insertions(+), 133 deletions(-) diff --git a/src/etc/config.xml.sample b/src/etc/config.xml.sample index 02a6675e0..a5e6beac3 100644 --- a/src/etc/config.xml.sample +++ b/src/etc/config.xml.sample @@ -2,7 +2,6 @@ 11.2 - opnsense @@ -190,7 +189,6 @@ normal OPNsense localdomain - admins @@ -234,17 +232,17 @@ mismatch1 - + dhcp dhcp6 - - + + - - - + + + 0 @@ -254,8 +252,8 @@ 24 track6 64 - - + + wan 0 @@ -277,66 +275,24 @@ 192.168.1.100 192.168.1.199 - - - - + - - - - public - @@ -345,64 +301,13 @@ - automatic - - - - - pass inet @@ -427,34 +332,6 @@ -