Skip to content

Commit

Permalink
ipmasquerade: regression fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Jan 4, 2025
1 parent efd10fd commit 6f6bef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/loxinet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -3011,7 +3011,7 @@ func (r *ruleEnt) LB2DP(work DpWorkT) int {
return -1
}

if !nWork.ServiceIP.IsUnspecified() {
if !nWork.ServiceIP.IsUnspecified() || nWork.BlockNum != 0 {
mh.dp.ToDpCh <- nWork
r.VIP2DP(nWork.Work)
}
Expand Down
6 changes: 3 additions & 3 deletions pkg/loxinet/xsync_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ import (
"context"
"errors"
"fmt"
opts "github.com/loxilb-io/loxilb/options"
tk "github.com/loxilb-io/loxilib"
"google.golang.org/grpc"
"io"
"net"
"net/http"
"net/rpc"
"os"
"runtime/debug"
opts "github.com/loxilb-io/loxilb/options"
tk "github.com/loxilb-io/loxilib"
"google.golang.org/grpc"
)

// DpWorkOnBlockCtAdd - Add block CT entries from remote goRPC client
Expand Down

0 comments on commit 6f6bef3

Please sign in to comment.