Patch to call ipt_state.