controlif: Adapt to minor data structure change regarding nm_state

This was required due to master diverging from where controlif
had last branched off.
This commit is contained in:
Harald Welte 2011-07-13 14:09:45 +02:00
parent 07252918ea
commit f505f5dff1
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ int get_trx_rf_lock(struct ctrl_cmd *cmd, void *data)
return CTRL_CMD_ERROR;
}
cmd->reply = talloc_asprintf(cmd, "%u", trx->nm_state.administrative == NM_STATE_LOCKED ? 1 : 0);
cmd->reply = talloc_asprintf(cmd, "%u", trx->mo.nm_state.administrative == NM_STATE_LOCKED ? 1 : 0);
return CTRL_CMD_REPLY;
}