summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/lcp_opt_magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ppp/lcp_opt_magic.c')
-rw-r--r--accel-pppd/ppp/lcp_opt_magic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ppp/lcp_opt_magic.c b/accel-pppd/ppp/lcp_opt_magic.c
index 3e694d20..bf392091 100644
--- a/accel-pppd/ppp/lcp_opt_magic.c
+++ b/accel-pppd/ppp/lcp_opt_magic.c
@@ -94,9 +94,9 @@ static void magic_print(void (*print)(const char *fmt,...),struct lcp_option_t *
struct lcp_opt32_t *opt32 = (struct lcp_opt32_t *)ptr;
if (ptr)
- print("<magic %04x>", ntohl(opt32->val));
+ print("<magic %08x>", ntohl(opt32->val));
else
- print("<magic %04x>", magic_opt->magic);
+ print("<magic %08x>", magic_opt->magic);
}
static void magic_opt_init()