summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-05-22 12:47:19 +0200
committerLinus Groh <mail@linusgroh.de>2021-05-22 15:42:54 +0100
commit21cd278b8ab8a8cc3b734e951cea4a26609ade84 (patch)
tree8b32affcd3cf4c3fce442c05bb5b9d767c805fec
parente087a65775cc06b02d8e1f1f8bce1ebb8c405c54 (diff)
downloadserenity-21cd278b8ab8a8cc3b734e951cea4a26609ade84.zip
Userland: Rename e1k0 to ep0s7
-rw-r--r--Userland/Utilities/test-bindtodevice.cpp3
1 files changed, 2 insertions, 1 deletions
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");