diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-07-12 08:48:59 -0700 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-07-12 09:39:35 -0700 |
commit | a621d4843592cdf3fe758fc06ab19af299278ca7 (patch) | |
tree | 755c07d1a0f4fc79eca2f1ce994627906e4479c1 /hicn-light/src/hicn/utils | |
parent | 63422dfdcb1cd6827e76440cc147c9eac415952a (diff) |
[HICN-245] Bind of the listener to the device
Change-Id: I4d8cd95ba74c5d24d4c49975e7798440fe3e34d1
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/utils')
-rw-r--r-- | hicn-light/src/hicn/utils/commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/utils/commands.h b/hicn-light/src/hicn/utils/commands.h index 236a75a33..96415d8da 100644 --- a/hicn-light/src/hicn/utils/commands.h +++ b/hicn-light/src/hicn/utils/commands.h @@ -105,7 +105,9 @@ typedef enum { ETHER_MODE, IP_MODE, HICN_MODE } listener_mode; typedef struct { char symbolic[16]; - // char interfaceName[16]; +#ifdef __linux__ + char interfaceName[16]; +#endif union commandAddr address; uint16_t port; // uint16_t etherType; |