Skip to content

Commit

Permalink
Change ip for a known public IP that noone should route from (except …
Browse files Browse the repository at this point in the history
…if you're Google)
  • Loading branch information
Norman Pellet committed Jul 18, 2023
1 parent de20d4c commit 374cd56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prober/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ func TestSourceIpParam(t *testing.T) {
}

// check the the source ip is at the origin of the TCP probe
source_ip := "127.0.0.2" // Needs to be a local IP address
local_ip := "127.0.0.1" // Needs to be a local IP address
source_ip := "8.8.8.8" // Needs to be a local IP address
local_ip := "127.0.0.1" // Needs to be a local IP address

// List on TCP socket
ln, err := net.Listen("tcp", "localhost:0")
Expand Down

0 comments on commit 374cd56

Please sign in to comment.