Commit bcc1fdae authored by Adam Wujek's avatar Adam Wujek 💬

lib/conf.c: another fix #ifdef for p2p options

CONFIG_HAS_P2P is always defined as 0 or 1
revert 6de6467f
Use #if CONFIG_HAS_P2P == 1 instead
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 3b780518
......@@ -221,7 +221,7 @@ static struct pp_argname arg_mech[] = {
{"request-response", PP_E2E_MECH},
{"delay", PP_E2E_MECH},
{"e2e", PP_E2E_MECH},
#ifdef CONFIG_HAS_P2P
#if CONFIG_HAS_P2P == 1
{"peer-delay", PP_P2P_MECH},
{"pdelay", PP_P2P_MECH},
{"p2p", PP_P2P_MECH},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment