diff --git a/ajax/networking/get_netcfg.php b/ajax/networking/get_netcfg.php new file mode 100644 index 00000000..f2e735a4 --- /dev/null +++ b/ajax/networking/get_netcfg.php @@ -0,0 +1,41 @@ + 1) { + $dhcpdata['DNS1'] = $arrDns[1]; + } + if (count($arrDns) > 2) { + $dhcpdata['DNS2'] = $arrDns[2]; + } + } + } + echo json_encode($dhcpdata); +}