From 21cd278b8ab8a8cc3b734e951cea4a26609ade84 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 22 May 2021 12:47:19 +0200 Subject: [PATCH] Userland: Rename e1k0 to ep0s7 --- Userland/Utilities/test-bindtodevice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Utilities/test-bindtodevice.cpp b/Userland/Utilities/test-bindtodevice.cpp index d0e6ddbe9c..990098496c 100644 --- a/Userland/Utilities/test-bindtodevice.cpp +++ b/Userland/Utilities/test-bindtodevice.cpp @@ -107,7 +107,8 @@ void test_send(int fd) // bind to an interface that cannot deliver char buf[IFNAMSIZ]; socklen_t buflen = IFNAMSIZ; - memcpy(buf, "e1k0", 5); + // FIXME: Look up the proper device name instead of hard-coding it + memcpy(buf, "ep0s7", 6); if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, buf, buflen) < 0) { perror("setsockopt(SO_BINDTODEVICE) :: send");