projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5f572b
)
Handle Addr
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 16 Feb 2008 22:15:52 +0000
(22:15 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 16 Feb 2008 22:15:52 +0000
(22:15 +0000)
sendmail/list_ports.cgi
patch
|
blob
|
history
diff --git
a/sendmail/list_ports.cgi
b/sendmail/list_ports.cgi
index
7f966b4
..
bc29b0e
100644
(file)
--- a/
sendmail/list_ports.cgi
+++ b/
sendmail/list_ports.cgi
@@
-40,6
+40,11
@@
foreach $p (@ports, { }) {
delete($p->{$fk});
}
}
+ if ($p->{'Addr'}) {
+ # Some systems use 'Addr' instead of 'Address'
+ $p->{'Address'} = $p->{'Addr'};
+ delete($p->{'Addr'});
+ }
push(@cols, &ui_textbox("name_$i", $p->{'Name'}, 10));
push(@cols, &ui_opt_textbox("addr_$i", $p->{'Address'}, 15,
$text{'ports_all'}, $text{'ports_ip'}));