Project

General

Profile

Actions

Bug #8570

open

Empty (dn)shaper config gets populated with newline

Added by Zsolt Zsiros almost 6 years ago. Updated over 4 years ago.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
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.

Actions #1

Updated by Jim Pingle over 4 years ago

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

Also available in: Atom PDF