Skip to content

Commit 7ad5353

Browse files
committed
Removed JSON escaping for interfaces data
1 parent 8ecf80b commit 7ad5353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Protest/Tasks/Fetch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public static ConcurrentDictionary<string, string[]> SingleDevice(string target,
438438
case "switch":
439439
string interfaces = Protocols.Snmp.Polling.FetchInterfaces(ipList[0], profile);
440440
if (interfaces is null) break;
441-
data.TryAdd(".interfaces", new string[] { Data.EscapeJsonText(interfaces), "SNMP", string.Empty });
441+
data.TryAdd(".interfaces", new string[] { interfaces, "SNMP", string.Empty });
442442
break;
443443
}
444444
}

0 commit comments

Comments
 (0)