diff options
-rw-r--r-- | gatchat/ppp_cp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index df14a330..75b3bec9 100644 --- a/gatchat/ppp_cp.c +++ b/gatchat/ppp_cp.c @@ -168,7 +168,7 @@ static void pppcp_this_layer_down(struct pppcp_data *data) { struct pppcp_action *action = data->action; - if (action->this_layer_up) + if (action->this_layer_down) action->this_layer_down(data); } @@ -176,7 +176,7 @@ static void pppcp_this_layer_started(struct pppcp_data *data) { struct pppcp_action *action = data->action; - if (action->this_layer_up) + if (action->this_layer_started) action->this_layer_started(data); } @@ -184,7 +184,7 @@ static void pppcp_this_layer_finished(struct pppcp_data *data) { struct pppcp_action *action = data->action; - if (action->this_layer_up) + if (action->this_layer_finished) action->this_layer_finished(data); } |