Fix duplicate assigned IP check when adding assigned IPs to database

This commit is contained in:
Grant Limberg 2020-03-03 13:34:24 -08:00
parent 00ac35ad62
commit c7df01e737
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A

View file

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