Closed Bubbl3H3d closed 7 years ago
"adapter = ifconfig[idx+1].split()[1][5:]" # to just "adapter = ifconfig[idx+1].split()[1]"
adapter = ifconfig.split("\n")[1].split()[1][5:] # to just adapter = ifconfig.split("\n")[1].split()[1]
In Line 95, I changed
"adapter = ifconfig[idx+1].split()[1][5:]" # to just "adapter = ifconfig[idx+1].split()[1]"
removing [5:] as it was stripping off the first two octets
In Line 97, I changed
adapter = ifconfig.split("\n")[1].split()[1][5:] # to just adapter = ifconfig.split("\n")[1].split()[1]