Index: trunk/cgi-bin/IPDB.pm
===================================================================
--- trunk/cgi-bin/IPDB.pm	(revision 944)
+++ trunk/cgi-bin/IPDB.pm	(revision 945)
@@ -1686,8 +1686,8 @@
 
       # finally assign the IP
-      $dbh->do("UPDATE poolips SET custid = ?, city = ?, available='n', description = ?, notes = ?, ".
+      $dbh->do("UPDATE poolips SET custid = ?, city = ?, available='n', description = ?, notes = ?, vlan = ?, ".
 	"circuitid = ?, privdata = ?, rdns = ?, backup_id = ? ".
 	"WHERE ip = ? AND parent_id = ?", undef,
-		($args{custid}, $args{city}, $args{desc}, $args{notes},
+		($args{custid}, $args{city}, $args{desc}, $args{notes}, $args{vlan},
 		$args{circid}, $args{privdata}, $args{rdns}, $backupid,
 		$args{cidr}, $args{parent}) );
