diff options
author | Björn Gustavsson <[email protected]> | 2016-03-30 14:48:02 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-30 16:08:14 +0200 |
commit | 17f7dd7a414feb14fa20200299e9115e832ed164 (patch) | |
tree | 6c749d8fe68972887a464b58b52ef20a1c75e8e0 /lib/kernel/test | |
parent | 50623444d32398d4e982b9545f4809b3d8626793 (diff) | |
download | otp-17f7dd7a414feb14fa20200299e9115e832ed164.tar.gz otp-17f7dd7a414feb14fa20200299e9115e832ed164.tar.bz2 otp-17f7dd7a414feb14fa20200299e9115e832ed164.zip |
inet_SUITE: Handle pointtopoint devices in getifaddrs/1
Diffstat (limited to 'lib/kernel/test')
-rw-r--r-- | lib/kernel/test/inet_SUITE.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kernel/test/inet_SUITE.erl b/lib/kernel/test/inet_SUITE.erl index 0f114a971a..38cb02a6ec 100644 --- a/lib/kernel/test/inet_SUITE.erl +++ b/lib/kernel/test/inet_SUITE.erl @@ -1075,6 +1075,10 @@ check_ifopts( #ifopts{addrs=Addrs}=Ifopts) -> check_ifopts(Opts, Ifopts#ifopts{addrs=[{Addr,Netmask,Broadaddr}|Addrs]}); check_ifopts( + [{addr,Addr},{netmask,Netmask},{dstaddr,_}|Opts], + #ifopts{addrs=Addrs}=Ifopts) -> + check_ifopts(Opts, Ifopts#ifopts{addrs=[{Addr,Netmask}|Addrs]}); +check_ifopts( [{addr,Addr},{netmask,Netmask}|Opts], #ifopts{addrs=Addrs}=Ifopts) -> check_ifopts(Opts, Ifopts#ifopts{addrs=[{Addr,Netmask}|Addrs]}); |