Skip to content

Commit 1dbc044

Browse files
committed
Fix skip condition
1 parent 783f6ad commit 1dbc044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func (s *httpRequestAndResponseStreamer) start() {
7474
if !ok {
7575
continue
7676
}
77-
if s.ipManager != nil && s.ipManager.isServiceIP(net.DstIP.String()) {
77+
if !(s.ipManager == nil || s.ipManager.isServiceIP(net.DstIP.String())) {
7878
slog.Debug(
7979
"Skipping connection to non-service IP:",
8080
"Src", net.SrcIP.String(),

0 commit comments

Comments
 (0)