Added CFG_PROTOCOL guard