Browse Source

Fix duplicate assigned IP check when adding assigned IPs to database

Grant Limberg 5 years ago
parent
commit
e702942041
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controller/PostgreSQL.cpp

+ 1 - 0
controller/PostgreSQL.cpp

@@ -998,6 +998,7 @@ void PostgreSQL::commitThread()
 							PQclear(PQexec(conn, "ROLLBACK"));
 							break;;
 						}
+						assignments.push_back(addr);
 					}
 
 					res = PQexec(conn, "COMMIT");