mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 09:50:28 +01:00
ip6: fix a crash when /proc/sys/net/ipv6/conf/<iface>/* files are not present
This commit is contained in:
parent
871f9934fa
commit
ea1e6f2f7b
1 changed files with 1 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ nm_ip6_device_destroy (NMIP6Device *device)
|
|||
static gboolean
|
||||
get_proc_sys_net_value (const char *path, const char *iface, guint32 *out_value)
|
||||
{
|
||||
GError *error;
|
||||
GError *error = NULL;
|
||||
char *contents = NULL;
|
||||
gboolean success = FALSE;
|
||||
long int tmp;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue