summaryrefslogtreecommitdiff
path: root/src/user/app/netstack/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/netstack/udp.c')
-rw-r--r--src/user/app/netstack/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/netstack/udp.c b/src/user/app/netstack/udp.c
index 8129a48..d53137d 100644
--- a/src/user/app/netstack/udp.c
+++ b/src/user/app/netstack/udp.c
@@ -54,7 +54,7 @@ void udpc_send(struct udp_conn *c, const void *buf, size_t len) {
.proto = 0x11,
.src = c->lip,
.dst = c->rip,
- .e.dst = c->rmac,
+ .e.dst = &c->rmac,
});
free(pkt);
}