aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp/patches/550-fix-printer-args.patch
blob: 0eed9428a6143734510d24a7e045dbd00672f09b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/pppd/options.c
+++ b/pppd/options.c
@@ -1013,7 +1013,7 @@ print_option(opt, mainopt, printer, arg)
 			p = (char *) opt->addr2;
 			if ((opt->flags & OPT_STATIC) == 0)
 				p = *(char **)p;
-			printer("%q", p);
+			printer(arg, "%q", p);
 		} else if (opt->flags & OPT_A2LIST) {
 			struct option_value *ovp;