diff options
author | dimitri staessens <[email protected]> | 2017-02-09 22:31:55 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-02-09 23:25:00 +0100 |
commit | c3300620c68486619fd9c8e47a2552f6a913e09b (patch) | |
tree | 97f805ee804ceb6e228dc45ca7bbdc29cc22be0b /src/ipcpd/shim-eth-llc/main.c | |
parent | 6785ca65ab48f1a29914c1784a24009964ec4720 (diff) | |
download | ouroboros-c3300620c68486619fd9c8e47a2552f6a913e09b.tar.gz ouroboros-c3300620c68486619fd9c8e47a2552f6a913e09b.zip |
lib, tools, ipcpd: Fix compilation on FreeBSD
FreeBSD defines its own bswap64 in the <sys/endian.h> header, which is
now included correctly.
POSIX requires XSI or RTS extensions to be enabled for the
sa_sigaction field to be visible. Linux doesn't do the check
correctly, but FreeBSD does.
Removes the LOG_MISSING call which was deprecated with the last
revision of the logging system.
Diffstat (limited to 'src/ipcpd/shim-eth-llc/main.c')
-rw-r--r-- | src/ipcpd/shim-eth-llc/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c index 15482f87..f96c6e8a 100644 --- a/src/ipcpd/shim-eth-llc/main.c +++ b/src/ipcpd/shim-eth-llc/main.c @@ -773,7 +773,6 @@ static int eth_llc_ipcp_bootstrap(struct dif_config * conf) memcpy(LLADDR(&device), ifr.ifr_addr.sa_data, MAC_SIZE); device.sdl_alen = MAC_SIZE; /* TODO: replace socket calls with bpf for BSD */ - LOG_MISSING; skfd = socket(AF_LINK, SOCK_RAW, 0); #else device.sll_ifindex = idx; |