コード例 #1
0
/// checks if an address is reserved (checks all interfaces)
///
/// @param addr
///
/// @return true if reserved, false otherwise
bool TSrvCfgMgr::addrReserved(SPtr<TIPv6Addr> addr) {
    SPtr<TSrvCfgIface> iface;
    SrvCfgIfaceLst.first();
    while (iface = SrvCfgIfaceLst.get()) {
        if (iface->addrReserved(addr))
            return true;
    }
    return false;
}