diff --git a/src/inet/networklayer/common/L3AddressResolver.cc b/src/inet/networklayer/common/L3AddressResolver.cc index 86fe6ce8825..1dabc0f16f3 100644 --- a/src/inet/networklayer/common/L3AddressResolver.cc +++ b/src/inet/networklayer/common/L3AddressResolver.cc @@ -531,12 +531,8 @@ cModule *L3AddressResolver::findHostWithAddress(const L3Address& add) for (int i = 0; i < itable->getNumInterfaces(); i++) { NetworkInterface *entry = itable->getInterface(i); switch (add.getType()) { -#ifdef WITH_IPv6 case L3Address::IPv6: -#endif // ifdef WITH_IPv6 -#ifdef WITH_IPv4 case L3Address::IPv4: -#endif // ifdef WITH_IPv4 case L3Address::MAC: if (entry->hasNetworkAddress(add)) return mod;