Project

General

Profile

Bug #8570

Empty (dn)shaper config gets populated with newline

Added by Zsolt Zsiros over 1 year ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
XML Parser
Target version:
-
Start date:
06/13/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.2
Affected Architecture:

Description

Whenever I change something in fw rules the shaper and dnspaher config changes from 'empty' to 'newline':

-    <shaper></shaper>
+    <shaper>
+    </shaper>
.
.
-    <dnshaper></dnshaper>
+    <dnshaper>
+    </dnshaper>

After midnight it gets cleaned and reverted to the original 'empty' value:

-    <shaper>
-    </shaper>
+    <shaper></shaper>
.
.
-    <dnshaper>
-    </dnshaper>
+    <dnshaper></dnshaper>

I know that both versions are syntactically correct and identical, but this change (and the following auto-revert) are triggering my configuration backup system -> every second change in it is unnecessary pollution.

I am not sure if this has to be fixed in /src/etc/inc/shaper.inc or somewhere else.

History

#1 Updated by Jim Pingle 6 months ago

  • Category changed from Traffic Shaper (ALTQ) to XML Parser

Also available in: Atom PDF