Skip to content

Commit

Permalink
ppp: fix 'ignore-ingress-ppp-brd' VTY
Browse files Browse the repository at this point in the history
Fix during non-regression testing.
  • Loading branch information
acassen committed Sep 1, 2024
1 parent 57abced commit 828935d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/gtp_pppoe_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -587,12 +587,6 @@ DEFUN(pppoe_bundle_ignore_ingress_ppp_brd,
"Ignore Ingress PPP broadcast messages\n")
{
gtp_pppoe_bundle_t *bundle = vty->index;
gtp_pppoe_t *pppoe;

pppoe = gtp_pppoe_bundle_instance_prepare(vty, bundle, argc, argv);
if (!pppoe)
return CMD_WARNING;

__set_bit(PPPOE_FL_IGNORE_INGRESS_PPP_BRD_BIT, &bundle->flags);
return CMD_SUCCESS;
}
Expand All @@ -603,12 +597,6 @@ DEFUN(no_pppoe_bundle_ignore_ingress_ppp_brd,
"Allow Ingress PPP broadcast messages\n")
{
gtp_pppoe_bundle_t *bundle = vty->index;
gtp_pppoe_t *pppoe;

pppoe = gtp_pppoe_bundle_instance_prepare(vty, bundle, argc, argv);
if (!pppoe)
return CMD_WARNING;

__clear_bit(PPPOE_FL_IGNORE_INGRESS_PPP_BRD_BIT, &bundle->flags);
return CMD_SUCCESS;
}
Expand Down

0 comments on commit 828935d

Please sign in to comment.