mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
misc: fixed directive formatting
This commit is contained in:
parent
5d6121bb77
commit
70486d8cd2
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ func KillSocket(proto string, srcIP net.IP, srcPort uint, dstIP net.IP, dstPort
|
||||||
if sockList, err := SocketGet(family, ipproto, uint16(srcPort), uint16(dstPort), srcIP, dstIP); err == nil {
|
if sockList, err := SocketGet(family, ipproto, uint16(srcPort), uint16(dstPort), srcIP, dstIP); err == nil {
|
||||||
for _, s := range sockList {
|
for _, s := range sockList {
|
||||||
if err := socketKill(family, ipproto, s.ID); err != nil {
|
if err := socketKill(family, ipproto, s.ID); err != nil {
|
||||||
log.Debug("Unable to kill socket:", srcPort, dstPort, err)
|
log.Debug("Unable to kill socket: %d, %d, %v", srcPort, dstPort, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue