lowpan6_ble_opts.h: Add #ifndef guard for LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS

Avoid "LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS" redefined build
warning if it's set to 0 by lwipopts.h.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
This commit is contained in:
Axel Lin 2018-02-25 12:01:01 +08:00
parent 59e98ccb19
commit 7697a45405

View File

@ -80,6 +80,8 @@
* the address, depending on the BD address (either public or not). * the address, depending on the BD address (either public or not).
* Might not be RFC7668 conform, so you may select to do that (=1) or * Might not be RFC7668 conform, so you may select to do that (=1) or
* not (=0) */ * not (=0) */
#ifndef LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS
#define LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS 1 #define LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS 1
#endif
#endif /* LWIP_HDR_RFC7668_OPTS_H */ #endif /* LWIP_HDR_RFC7668_OPTS_H */