added interface variable to fix ipv4 errors