Add debug interfaces for wfp and iptables

This commit is contained in:
Daniel
2022-02-25 15:28:19 +01:00
parent b0b2fff5d7
commit 45339ce0c2
9 changed files with 56957 additions and 1 deletions

View File

@@ -110,7 +110,7 @@ func getDefaultInterface() *defaultNetInterface {
newIf := &defaultNetInterface{}
// Scan data for needed fields.
scanner := bufio.NewScanner(bytes.NewBufferString(interfaceData))
scanner := bufio.NewScanner(bytes.NewBuffer(interfaceData))
scanner.Split(bufio.ScanLines)
var segmentKey, segmentValue, previousKey string
for scanner.Scan() {