projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed50c42
)
Handle systems that are not FreeBSD
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 23 Feb 2008 22:42:47 +0000
(22:42 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 23 Feb 2008 22:42:47 +0000
(22:42 +0000)
ipfw/ipfw-lib.pl
patch
|
blob
|
history
diff --git
a/ipfw/ipfw-lib.pl
b/ipfw/ipfw-lib.pl
index
b2ab2f2
..
4aa5a82
100644
(file)
--- a/
ipfw/ipfw-lib.pl
+++ b/
ipfw/ipfw-lib.pl
@@
-8,7
+8,9
@@
do '../web-lib.pl';
do '../ui-lib.pl';
if (&foreign_check("net")) {
&foreign_require("net", "net-lib.pl");
- $has_net_lib = 1;
+ if (defined(&net::get_rc_conf)) {
+ $has_net_lib = 1;
+ }
}
# Work out save file