interfaceIndex :: String -> IO String
interfaceIndex interface = strip <$> getFileContents (sysfsnet </> interface </> "ifindex")
interfaceIndex :: String -> IO String
interfaceIndex interface = strip <$> getFileContents (sysfsnet </> interface </> "ifindex")
interfaceIndex interface = strip <$> getFileContents (sysfsnet </> interface </> "ifindex")