On Mon, Aug 03, 2015 at 10:02:06PM +0200, Richard Cochran wrote:
On Mon, Aug 03, 2015 at 03:49:43PM +0200, Miroslav Lichvar wrote:
+unsigned char udp_ttl = 1;
...
This would be better it it were a per-port option, no?
Definitely. That's actually how I originally wanted it, but when I saw
Signed-off-by: Miroslav Lichvar mlich...@redhat.com
---
config.c| 12
config.h| 2 ++
default.cfg | 2 ++
ptp4l.8 | 10 ++
ptp4l.c | 3 +++
udp.c | 7 +++
udp.h | 5 +
udp6.c | 6 ++
udp6.h | 5 +
9 files changed,
I have no problem with adding these options.
On Mon, Aug 03, 2015 at 03:49:43PM +0200, Miroslav Lichvar wrote:
+unsigned char udp_ttl = 1;
...
+ if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, udp_ttl,
+sizeof(udp_ttl))) {
+ pr_err(setsockopt
On Mon, 2015-08-03 at 22:02 +0200, Richard Cochran wrote:
I have no problem with adding these options.
On Mon, Aug 03, 2015 at 03:49:43PM +0200, Miroslav Lichvar wrote:
+unsigned char udp_ttl = 1;
...
+ if (setsockopt(fd, IPPROTO_IP, IP_MULTICAST_TTL, udp_ttl,
+