Do not store the UDP pacing rate; we do not use it after the constructor.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 26 Apr 2014 16:56:02 +0000 (18:56 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 26 Apr 2014 16:56:02 +0000 (18:56 +0200)
udpstream.cpp
udpstream.h

index fc00356..1e79494 100644 (file)
@@ -10,8 +10,7 @@
 #endif
 
 UDPStream::UDPStream(const sockaddr_in6 &dst, uint32_t pacing_rate)
-       : dst(dst),
-         pacing_rate(pacing_rate)
+       : dst(dst) 
 {
        sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP);
        if (sock == -1) {
index 271764e..ebc8ebc 100644 (file)
@@ -26,7 +26,6 @@ private:
 
        sockaddr_in6 dst;
        int sock;
-       uint32_t pacing_rate;
 };
 
 #endif  // !defined(_UDPSTREAM_H)