summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc/main.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-08-23 12:39:40 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-08-23 12:39:40 +0200
commit3c1f1088bdfc369a91f3b52d5a69552acc5e268d (patch)
tree1f499c0d6c7b8aedaecb1f11296fc7e01d36dea4 /src/ipcpd/shim-eth-llc/main.c
parente18aed70c85d778c66412c01d5d1fc2a06708aed (diff)
downloadouroboros-3c1f1088bdfc369a91f3b52d5a69552acc5e268d.tar.gz
ouroboros-3c1f1088bdfc369a91f3b52d5a69552acc5e268d.zip
ipcpd: shim-eth-llc: Fix building LLC shim
The LLC shim was not being built even though it should be build. This is due to CMake behaviour that when you set a var in the parent scope, it is not set in the local scope. It also adds back THIS_TYPE to the shim-eth-llc.
Diffstat (limited to 'src/ipcpd/shim-eth-llc/main.c')
-rw-r--r--src/ipcpd/shim-eth-llc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index 37df964b..bcf5abe2 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -20,8 +20,6 @@
* Foundation, Inc., http://www.fsf.org/about/contact/.
*/
-
-
#ifdef __APPLE__
#define _BSD_SOURCE
#define _DARWIN_C_SOURCE
@@ -89,6 +87,8 @@
#include <net/bpf.h>
#endif
+#define THIS_TYPE IPCP_SHIM_ETH_LLC
+
#define MGMT_SAP 0x01
#define MAC_SIZE 6
#define LLC_HEADER_SIZE 3