summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-10 12:55:16 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-10 12:55:16 +0100
commit1caee83a37f028e1d6fbb476d17daa10f119a4ee (patch)
tree116c8ccde5b37bd11c87dbab415fb97706674390
parent14a24ed02193ad9c9750e2953f4e3ef625e586bd (diff)
downloadecon-1caee83a37f028e1d6fbb476d17daa10f119a4ee.tar.gz
econ-1caee83a37f028e1d6fbb476d17daa10f119a4ee.tar.bz2
econ-1caee83a37f028e1d6fbb476d17daa10f119a4ee.zip
econproxy: Specify own in ip ep_send_frame header
-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;