1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-02 07:07:32 +02:00

fix: Ensure ipAddr is initialized to nullptr

This commit is contained in:
Sirius Bakke 2016-05-23 16:34:37 +02:00
parent 28c6a37b21
commit 153433d2d5
No known key found for this signature in database
GPG Key ID: 8B178E31C48CF176

View File

@ -654,7 +654,7 @@ int OSConfigurator_secuwall::generateInterfaceFile (Interface * iface, string na
stream << "\"" << endl;
/* Address object contains host, network and broadcast address plus netmask */
const Address* ipAddr;
const Address* ipAddr = NULL;
if (ip_address != NULL)
ipAddr = ip_address->getAddressObject();