Ignore:
Timestamp:
Feb 27, 2010, 2:59:28 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Generování pravidel pro NAT překlad.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/network_address.php

    r267 r277  
    3535    $HostMask = 0xffffffff ^ $this->GetNetMask();
    3636    $To = new NetworkAddressIPv4();
    37     $To->Address = $this->From + $HostMask;
     37    $To->Address = $From->Address + $HostMask;
    3838    $To->Prefix = 32;
    3939    return(array('From' => $From, 'To' => $To));   
Note: See TracChangeset for help on using the changeset viewer.