Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Fix netfilter go test for IPv6 allowed network (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreAbreu authored and David Barth committed Mar 13, 2017
1 parent eadf7d3 commit 1bf8e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snappy/app/netfilter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (s *FilterSuite) TestFilterHandleRequest(c *C) {
c.Assert(rec2.Code, Equals, http.StatusOK)

rec3 := httptest.NewRecorder()
req.RemoteAddr = "fd12:3456:789a:1::1:80"
req.RemoteAddr = "[fd12:3456:789a:1::1]:80"
http.DefaultServeMux.ServeHTTP(rec3, req)
c.Assert(rec3.Code, Equals, http.StatusForbidden)

Expand Down

0 comments on commit 1bf8e23

Please sign in to comment.