-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that the address sent via thrift is Ipv4.
In case an IPv6 address is sent in the ip_address field of AddPort thrift, it is accepted and later when to_v4() is invoked, bad_cast exception is thrown. Change-Id: I0a8e8991c6891ab61fd00c9eaa0e21f3e3ffaff5 partial-bug: 1476613
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters