summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-01-27 23:29:30 +0000
committerErmal Luçi <eri@pfsense.org>2010-01-27 23:29:30 +0000
commit1de43d91518a6418f7971f4cb6060f360d7c9325 (patch)
tree092046a85a1cd68d4aed9942531a28aa6d6fbe43
parentdaf8594a23dff7506c8fb52cffa63a37fefedb23 (diff)
downloadpfsense-1de43d91518a6418f7971f4cb6060f360d7c9325.zip
pfsense-1de43d91518a6418f7971f4cb6060f360d7c9325.tar.gz
Add even modem attached device types.
-rw-r--r--usr/local/www/interfaces_ppp_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_ppp_edit.php b/usr/local/www/interfaces_ppp_edit.php
index 1a034f3..4fd82af 100644
--- a/usr/local/www/interfaces_ppp_edit.php
+++ b/usr/local/www/interfaces_ppp_edit.php
@@ -169,6 +169,8 @@ include("head.inc");
<select name="port" id="port" class="formselect">
<?php
$portlist = glob("/dev/cua*");
+ $modems = glob("/dev/modem*");
+ $portlist = array_merge($portlist, $modems);
foreach ($portlist as $port) {
if(preg_match("/\.(lock|init)$/", $port))
continue;
OpenPOWER on IntegriCloud