Merge tag 'exfat-for-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linki...
[linux-2.6-microblaze.git] / tools / testing / selftests / net / nettest.c
index 93208ca..f75c53c 100644 (file)
@@ -1667,6 +1667,8 @@ int main(int argc, char *argv[])
                case 'R':
                        args.type = SOCK_RAW;
                        args.port = 0;
+                       if (!args.protocol)
+                               args.protocol = IPPROTO_RAW;
                        break;
                case 'P':
                        pe = getprotobyname(optarg);