Skip to content

Commit

Permalink
pppoe: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
acassen committed Feb 12, 2024
1 parent 3bd9dfe commit c484549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gtp_pppoe_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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);
Expand Down

0 comments on commit c484549

Please sign in to comment.