Reviewed: https://review.opencontrail.org/12579 Committed: http://github.org/Juniper/contrail-controller/commit/86e67b7bbb578337d9b2cff3ff1165b2ad51627d Submitter: Zuul Branch: master
commit 86e67b7bbb578337d9b2cff3ff1165b2ad51627d Author: Hari <email address hidden> Date: Thu Jul 23 15:34:03 2015 +0530
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
Reviewed: https:/ /review. opencontrail. org/12579 github. org/Juniper/ contrail- controller/ commit/ 86e67b7bbb57833 7d9b2cff3ff1165 b2ad51627d
Committed: http://
Submitter: Zuul
Branch: master
commit 86e67b7bbb57833 7d9b2cff3ff1165 b2ad51627d
Author: Hari <email address hidden>
Date: Thu Jul 23 15:34:03 2015 +0530
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: I0a8e8991c6891a b61fd00c9eaa0e2 1f3e3ffaff5
partial-bug: 1476613