From c484549a1579fdfa94b510a1a7ded2abf0503850 Mon Sep 17 00:00:00 2001 From: Alexandre Cassen Date: Mon, 12 Feb 2024 13:11:28 +0100 Subject: [PATCH] pppoe: fix typo --- src/gtp_pppoe_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtp_pppoe_proto.c b/src/gtp_pppoe_proto.c index 68bea20..6a4ad51 100644 --- a/src/gtp_pppoe_proto.c +++ b/src/gtp_pppoe_proto.c @@ -229,7 +229,7 @@ pppoe_connect(spppoe_t *s) int pppoe_abort_connect(spppoe_t *s) { - PPPDEBUG(("%s: pppoe could not establish connection\n", pppoe->ifname)); + PPPDEBUG(("%s: pppoe could not establish connection\n", s->pppoe->ifname)); s->state = PPPOE_STATE_CLOSING; /* Notify ppp upper layer */ @@ -242,7 +242,7 @@ pppoe_disconnect(spppoe_t *s) { int ret; - PPPDEBUG(("%s: pppoe disconnect hunique:0x%.8x\n", pppoe->ifname, s->unique)); + PPPDEBUG(("%s: pppoe disconnect hunique:0x%.8x\n", s->pppoe->ifname, s->unique)); if (s->state >= PPPOE_STATE_SESSION) { ret = pppoe_send_padt(s);