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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c
index 8580913a..085a9c85 100644
--- a/gatchat/ppp_lcp.c
+++ b/gatchat/ppp_lcp.c
@@ -231,7 +231,7 @@ struct pppcp_data *lcp_new(GAtPPP *ppp)
}
pppcp_set_option_strings(pppcp, lcp_option_strings);
- pppcp->prefix = "lcp";
+ pppcp_set_prefix(pppcp, "lcp");
pppcp_set_valid_codes(pppcp, LCP_SUPPORTED_CODES);