-// backwards compatibility with the old 4.2 API
-if ( ! method_exists ($adm,"GetInterfaces"))
- $interfaces = $adm->GetNodeNetworks(array('ip' => $_SERVER['REMOTE_ADDR']));
-else
- $interfaces = $adm->GetInterfaces(array('ip' => $_SERVER['REMOTE_ADDR']));