Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf: Mark 169.254.254.1 address as link scope #1575

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bpf/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ if [[ "$IP4_HOST" != "<nil>" ]]; then
fi

ip addr del 169.254.254.1/32 dev $HOST_DEV1 2> /dev/null || true
ip addr add 169.254.254.1/32 dev $HOST_DEV1
ip addr add 169.254.254.1/32 dev $HOST_DEV1 scope link
ip route del 169.254.254.0/24 dev $HOST_DEV1 2> /dev/null || true
ip route add 169.254.254.0/24 dev $HOST_DEV1 scope link
ip route del $IP4_RANGE 2> /dev/null || true
Expand Down
4 changes: 2 additions & 2 deletions daemon/bpf.sha
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GO_BINDATA_SHA1SUM=9531ba86f751cad1eb25fe2b913f13a448aab4e6
GO_VERSION_USED=go1.9
GO_BINDATA_SHA1SUM=4846bd2f17b1bb2c3f3722a631169917b2c29ba3
GO_VERSION_USED=go1.8.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this go version 1.8.3 affect other developers? Is this GO_VERSION_USED being used one a location that I'm not aware of?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update to go1.9. It's not used anywhere, it's only used for us.