mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-05-10 19:14:57 +02:00
fix: Ensure ipAddr is initialized to nullptr
This commit is contained in:
@@ -654,7 +654,7 @@ int OSConfigurator_secuwall::generateInterfaceFile (Interface * iface, string na
|
|||||||
stream << "\"" << endl;
|
stream << "\"" << endl;
|
||||||
|
|
||||||
/* Address object contains host, network and broadcast address plus netmask */
|
/* Address object contains host, network and broadcast address plus netmask */
|
||||||
const Address* ipAddr;
|
const Address* ipAddr = NULL;
|
||||||
if (ip_address != NULL)
|
if (ip_address != NULL)
|
||||||
ipAddr = ip_address->getAddressObject();
|
ipAddr = ip_address->getAddressObject();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user