diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-03-10 12:55:16 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-03-10 12:55:16 +0100 |
commit | 1caee83a37f028e1d6fbb476d17daa10f119a4ee (patch) | |
tree | 116c8ccde5b37bd11c87dbab415fb97706674390 | |
parent | 14a24ed02193ad9c9750e2953f4e3ef625e586bd (diff) | |
download | econ-1caee83a37f028e1d6fbb476d17daa10f119a4ee.tar.gz econ-1caee83a37f028e1d6fbb476d17daa10f119a4ee.tar.bz2 econ-1caee83a37f028e1d6fbb476d17daa10f119a4ee.zip |
econproxy: Specify own in ip ep_send_frame header
-rw-r--r-- | econproxy.c | 1 |
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; |