summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_lcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r--gatchat/ppp_lcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c
index 7dab019b..aba52864 100644
--- a/gatchat/ppp_lcp.c
+++ b/gatchat/ppp_lcp.c
@@ -86,7 +86,8 @@ static void lcp_finished(struct pppcp_data *pppcp)
* We need to use a default case here because this option type value
* could be anything.
*/
-static guint lcp_option_scan(struct ppp_option *option, gpointer user)
+static guint lcp_option_scan(struct pppcp_data *pppcp,
+ struct ppp_option *option)
{
switch (option->type) {
case ACCM: