marjohn56 / udpbroadcastrelay

UDP multicast/unicast relayer
GNU General Public License v2.0
126 stars 23 forks source link

Fix DIAL processing by updating Host header & correcting off-by-one errors #22

Open ryman1 opened 4 months ago

ryman1 commented 4 months ago

Tested successfully with udpbroadcastrelay running on Ubuntu 20.04.6, relaying Youtube SmartTV DIAL, chromecast, airplay, and MDNS

diizzyy commented 3 months ago

Hi,

This fails to compile,

--- all ---
cc -O2 -pipe -march=tigerlake  -fstack-protector-strong -fno-strict-aliasing -std=c99  -g main.c -o udpbroadcastrelay
main.c:1210:14: error: use of undeclared identifier 'proxyDialHttpHostHeader'
 1210 |     else if (proxyDialHttpHostHeader && socktype == LOCSVC_CIENTSOCK)
      |              ^
1 error generated.