mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
Userland: Rename e1k0 to ep0s7
This commit is contained in:
parent
e087a65775
commit
21cd278b8a
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue