mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-24 18:03:06 +02:00
openvpnctrl: Fix for while loop that had no break.
This commit is contained in:
@@ -361,7 +361,7 @@ void setFirewallRules(void) {
|
||||
|
||||
// set firewall rules for n2n connections
|
||||
char *port;
|
||||
while (conn) {
|
||||
while (conn != NULL) {
|
||||
sprintf(port, "%d", conn->port);
|
||||
setChainRules(OVPNRED, redif, conn->proto, port);
|
||||
conn = conn->next;
|
||||
|
||||
Reference in New Issue
Block a user