summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/OneService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp
index 44926a94..87f4136c 100644
--- a/service/OneService.cpp
+++ b/service/OneService.cpp
@@ -1265,7 +1265,7 @@ public:
_phy.setIp4UdpTtl(_v4UpnpUdpSocket,ttl);
const int result = ((_phy.udpSend(_v4UpnpUdpSocket,(const struct sockaddr *)addr,data,len) != 0) ? 0 : -1);
if (ttl)
- _phy.setIp4UdlTtl(_v4UpnpUdpSocket,255);
+ _phy.setIp4UdpTtl(_v4UpnpUdpSocket,255);
return result;
} else {
return -1;