summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-24 14:32:16 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-24 14:32:16 +0000
commit9bf8bcda6569de524ba76a59d8fd3d90991cfd12 (patch)
treea69fe0f941fa1d1bba549c535ab21c1ab9a71989 /etc
parent3feef69db52801ddd34f43a038623086bf6a12b4 (diff)
downloadpfsense-9bf8bcda6569de524ba76a59d8fd3d90991cfd12.zip
pfsense-9bf8bcda6569de524ba76a59d8fd3d90991cfd12.tar.gz
Return null return value so we know when we did not find any match.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index d891a41..d1d5f11 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1864,7 +1864,7 @@ function convert_real_interface_to_friendly_interface_name($interface = "wan") {
if($int == $interface)
return $ifname;
}
- return $interface;
+ return NULL;
}
/* attempt to resolve interface to friendly descr */
OpenPOWER on IntegriCloud