- Timestamp:
- May 25, 2010, 2:41:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/proxy-8.0/wleiden.pl
r7696 r8019 278 278 }; 279 279 $output .= "\n"; 280 $output .= "# XXX: Automagic by finding out which IP is in 172.16.0.0/12, perhaps?\n"; 281 $output .= "internalif=\"" . $internalif . "\"\n"; 282 283 $output .= "\n"; 280 284 $output .= "static_routes=\"wleiden\"\n"; 281 $output .= "route_wleiden=\"-net 172.16.0.0/12 $internalroute\"\n"; 282 283 $output .= "\n"; 284 $output .= "internalif=\"" . $internalif . "1\"\n"; 285 @t = split(/\//,$IP{$internalif}); 286 $output .= "route_wleiden=\"-net 172.16.0.0/12 $t[0]\"\n"; 287 285 288 286 289 if( $proxyid ) {
Note:
See TracChangeset
for help on using the changeset viewer.