Skip to content

Commit

Permalink
Fix IPv6 address parsing (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelsabbahy committed Apr 28, 2016
1 parent 24fb168 commit 009cf8b
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ coverage:
#xdg-open /tmp/coverage.html

release/goss-linux-386:
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -ldflags "-X main.version=$(TRAVIS_TAG)" -o release/$(cmd)-linux-386 $(exe)
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-linux-386 $(exe)
goupx $@
release/goss-linux-amd64:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$(TRAVIS_TAG)" -o release/$(cmd)-linux-amd64 $(exe)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$(TRAVIS_TAG) -s -w" -o release/$(cmd)-linux-amd64 $(exe)
goupx $@
build: release/goss-linux-386 release/goss-linux-amd64

Expand Down
2 changes: 1 addition & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import:
- package: github.com/mitchellh/go-ps
ref: e6c6068076470196af082b1ff896e24a51a87b2a
- package: github.com/aelsabbahy/GOnetstat
ref: 2907f74398ebea717cab8187513bee184b1fdd26
ref: edf89f784e0876818dc19f7744a16742a0a66f16
- package: github.com/codegangsta/cli
ref: 70e3fa51ebed95df8c0fbe1519c1c1f9bc16bb13
- package: github.com/godbus/dbus
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/alpine3/goss-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"tcp6:80": {
"listening": true,
"ip": [
"0000:0000:0000:0000:0000:0000:0000:0000"
"::"
]
},
"tcp:80": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/alpine3/goss.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"port": {
"tcp6:80": {
"listening": true,
"ip": ["0000:0000:0000:0000:0000:0000:0000:0000"]
"ip": ["::"]
}
},
"gossfile": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/centos6/goss-aa-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tcp6:80": {
"listening": true,
"ip": [
"0000:0000:0000:0000:0000:0000:0000:0000"
"::"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/centos6/goss-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"tcp6:80": {
"listening": true,
"ip": [
"0000:0000:0000:0000:0000:0000:0000:0000"
"::"
]
},
"tcp:80": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/centos6/goss.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"port": {
"tcp6:80": {
"listening": true,
"ip": ["0000:0000:0000:0000:0000:0000:0000:0000"]
"ip": ["::"]
}
},
"gossfile": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/wheezy/goss-aa-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"tcp6:80": {
"listening": true,
"ip": [
"0000:0000:0000:0000:0000:0000:0000:0000"
"::"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/wheezy/goss-expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"tcp6:80": {
"listening": true,
"ip": [
"0000:0000:0000:0000:0000:0000:0000:0000"
"::"
]
},
"tcp:80": {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/goss/wheezy/goss.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"port": {
"tcp6:80": {
"listening": true,
"ip": ["0000:0000:0000:0000:0000:0000:0000:0000"]
"ip": ["::"]
}
},
"gossfile": {
Expand Down

0 comments on commit 009cf8b

Please sign in to comment.