#2455 show wromg name of "zone" in rule editing

1.260
closed
5
2006-06-08
2006-03-17
Madtrek
No

When editing rules the "detination" field showed is the
type of the zone, not the name of it .

sistem = Debian Sarge
Shorewall = 3.0.5
Webmin = 1.26 with all updates instaled

Discussion

  • Zainal (MY)

    Zainal (MY) - 2006-04-06

    Logged In: YES
    user_id=1496150

    You may want to try hardwired the "convert_zone" function in
    shorewall-lib.pl as below:

    sub convert_zone
    {
    local @ztable = &read_table_file("zones", \&zones_parser);
    foreach $z (@ztable) {
    if ($_[0] eq $z->[0]) {
    $ret = $z->[0];
    }
    }
    if (&is_fw($_[0])) {
    $ret = $text{'list_fw'};
    }
    return $ret || $_[0];
    }

     
  • Jamie Cameron

    Jamie Cameron - 2006-06-08

    Logged In: YES
    user_id=129364

    Webmin 1.275+ fixes this problem..

     
  • Jamie Cameron

    Jamie Cameron - 2006-06-08
    • status: open --> closed
     

Log in to post a comment.