Changeset 945 for trunk/cgi-bin


Ignore:
Timestamp:
10/17/23 15:35:41 (13 months ago)
Author:
Kris Deugau
Message:

/trunk

Fix missing VLAN set in static IP branch of allocateBlock()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r943 r945  
    16861686
    16871687      # finally assign the IP
    1688       $dbh->do("UPDATE poolips SET custid = ?, city = ?, available='n', description = ?, notes = ?, ".
     1688      $dbh->do("UPDATE poolips SET custid = ?, city = ?, available='n', description = ?, notes = ?, vlan = ?, ".
    16891689        "circuitid = ?, privdata = ?, rdns = ?, backup_id = ? ".
    16901690        "WHERE ip = ? AND parent_id = ?", undef,
    1691                 ($args{custid}, $args{city}, $args{desc}, $args{notes},
     1691                ($args{custid}, $args{city}, $args{desc}, $args{notes}, $args{vlan},
    16921692                $args{circid}, $args{privdata}, $args{rdns}, $backupid,
    16931693                $args{cidr}, $args{parent}) );
Note: See TracChangeset for help on using the changeset viewer.