summaryrefslogtreecommitdiff
path: root/econproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'econproxy.c')
-rw-r--r--econproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/econproxy.c b/econproxy.c
index e3fd9b8..2475e5f 100644
--- a/econproxy.c
+++ b/econproxy.c
@@ -335,6 +335,7 @@ ep_send_frame(struct ep *ep, char *buf, int size)
strncpy(hdr.magicnum, "EPRD", ECON_MAGICNUM_SIZE);
strncpy(hdr.version, "0600", ECON_PROTOVER_MAXLEN);
+ set_ip(hdr.IPaddress, sock_get_ipv4_addr(ep->video_fd));
hdr.commandID = 0;
hdr.datasize = size;