Reviewed: https://review.opencontrail.org/12578 Committed: http://github.org/Juniper/contrail-controller/commit/569650e34df9816807c9272e829d45fbb76b1b9e Submitter: Zuul Branch: R2.20
commit 569650e34df9816807c9272e829d45fbb76b1b9e Author: Hari <email address hidden> Date: Thu Jul 23 14:58:29 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: I24aa7a9d8d83ccb0a26974d017c93c473eb13ab6 partial-bug: 1476613
Reviewed: https:/ /review. opencontrail. org/12578 github. org/Juniper/ contrail- controller/ commit/ 569650e34df9816 807c9272e829d45 fbb76b1b9e
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 569650e34df9816 807c9272e829d45 fbb76b1b9e
Author: Hari <email address hidden>
Date: Thu Jul 23 14:58:29 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: I24aa7a9d8d83cc b0a26974d017c93 c473eb13ab6
partial-bug: 1476613