summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_cp.c')
-rw-r--r--gatchat/ppp_cp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c
index 9ff55233..5e80317f 100644
--- a/gatchat/ppp_cp.c
+++ b/gatchat/ppp_cp.c
@@ -1294,6 +1294,11 @@ void pppcp_set_option_strings(struct pppcp_data *pppcp, const char **opts)
pppcp->option_strings = opts;
}
+void pppcp_set_prefix(struct pppcp_data *pppcp, const char *prefix)
+{
+ pppcp->prefix = prefix;
+}
+
struct pppcp_data *pppcp_new(GAtPPP *ppp, guint16 proto)
{
struct pppcp_data *data;