diff options
| author | Roy Marples <roy@marples.name> | 2017-10-04 00:11:14 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-10-04 00:11:14 +0100 |
| commit | b5f2b924ae40eb606176bfcab1c086d7c355799c (patch) | |
| tree | 168b16d20adc5827132b14f504f9e87fd6939d1f | |
| parent | 121de3ede63f69ad52331310478acf986cfaedd2 (diff) | |
| download | dhcpcd-b5f2b924ae40eb606176bfcab1c086d7c355799c.tar.xz | |
Comment out IPoIB broadcast address with a comment.
| -rw-r--r-- | src/if-linux.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/if-linux.c b/src/if-linux.c index 1a5a78e8..9f030cef 100644 --- a/src/if-linux.c +++ b/src/if-linux.c @@ -103,12 +103,17 @@ struct priv { struct iovec sndrcv_iov[1]; }; +/* We need this to send a broadcast for InfiniBand. + * Our old code used sendto, but our new code writes to a raw BPF socket. + * What header structure does IPoIB use? */ +#if 0 /* Broadcast address for IPoIB */ static const uint8_t ipv4_bcast_addr[] = { 0x00, 0xff, 0xff, 0xff, 0xff, 0x12, 0x40, 0x1b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff }; +#endif #define PROC_INET6 "/proc/net/if_inet6" #define PROC_PROMOTE "/proc/sys/net/ipv4/conf/%s/promote_secondaries" |
