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

Fix Fails in Initializing Dynamic Peer #1362

Merged
merged 2 commits into from
Jun 20, 2017

Conversation

fujimoto-s
Copy link
Contributor

If State.NeighborAddress is not set, setting default configs
for the dynamic peers will fail. This patch sets State.NeighborAddress
before setting default configs.
And this avoids overwriting State.NeighborAddress if it is set.

This fixes #1283.

Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
If State.NeighborAddress is not set, setting default configs
for the dynamic peers will fail. This patch set State.NeighborAddress
before setting default configs.
And this patch avoids overwriting State.NeighborAddress if it is set.

Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
@vincentbernat
Copy link
Contributor

This works fine for me. Both IPv4 and IPv6. Thanks!

@fujita fujita merged commit 85a62d8 into osrg:master Jun 20, 2017
@fujita
Copy link
Member

fujita commented Jun 20, 2017

Thanks, guys!

@fujimoto-s fujimoto-s deleted the add_dynamic_neighbor2 branch June 22, 2017 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic neighbors
3 participants