Added code to check if the proc/net/if_inet6 file exists while

loading IPv6 addresses in the IPv6Addresses class.
Resolves: rhbz#2210103
jiraProject ==  RHELPLAN-158238

Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
This commit is contained in:
Anubhav Shelat 2023-06-06 13:13:20 -04:00
parent 39708c6fd6
commit 487a77c935

View File

@ -1,4 +1,4 @@
From d25d3ccdb29be4f2573b2214db8aea3a87c356af Mon Sep 17 00:00:00 2001 From 0ba98b12775b5394aab2205df29d93439d625cc3 Mon Sep 17 00:00:00 2001
From: Anubhav Shelat <ashelat@redhat.com> From: Anubhav Shelat <ashelat@redhat.com>
Date: Thu, 1 Jun 2023 16:27:35 -0400 Date: Thu, 1 Jun 2023 16:27:35 -0400
Subject: [PATCH] Added code to check if the proc/net/if_inet6 file exists Subject: [PATCH] Added code to check if the proc/net/if_inet6 file exists
@ -7,6 +7,7 @@ Subject: [PATCH] Added code to check if the proc/net/if_inet6 file exists
Added code to check if the proc/net/if_inet6 file exists while loading IPv6 addresses in the IPv6Addresses class. If it doesn't, then the system has IPv6 disabled, and that chunk of code is passed. Added code to check if the proc/net/if_inet6 file exists while loading IPv6 addresses in the IPv6Addresses class. If it doesn't, then the system has IPv6 disabled, and that chunk of code is passed.
Signed-off-by: Anubhav Shelat <ashelat@redhat.com> Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
--- ---
rteval/sysinfo/newnet.py | 28 ++++++++++++++++------------ rteval/sysinfo/newnet.py | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-) 1 file changed, 16 insertions(+), 12 deletions(-)