mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Fix duplicate assigned IP check when adding assigned IPs to database
This commit is contained in:
parent
00ac35ad62
commit
c7df01e737
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue