Changeset 4025 in genesis for tools


Ignore:
Timestamp:
Mar 11, 2005, 12:51:42 PM (20 years ago)
Author:
dirkx
Message:

Add tproxy enable/disable to HTML page too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/g_list.pl

    r2592 r4025  
    169169  parse_config();                                                                 
    170170
     171  $TP='';
     172  if ($tproxy !~ m/no/i) {
     173        $TP .= "\n";
     174        $TP .= "Tproxy on cidr range $tproxy";
     175        $TP .= "<b>WARNING - specification propably wrong - should be a cidr</b>"
     176                unless $tproxy =~ m/\d+\.\d+\.\d+\.\d+\/\d+/;
     177};
     178
     179
    171180
    172181 print <<EOXY;
     
    188197Y=$Y
    189198
    190 
    191199OS=$OS
     200
     201$TP
    192202</PRE></TD></TR>
    193203EOXY
Note: See TracChangeset for help on using the changeset viewer.