summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/tr101.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/pppoe/tr101.c')
-rw-r--r--accel-pppd/ctrl/pppoe/tr101.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/tr101.c b/accel-pppd/ctrl/pppoe/tr101.c
index ee3b78d3..6fe29a8a 100644
--- a/accel-pppd/ctrl/pppoe/tr101.c
+++ b/accel-pppd/ctrl/pppoe/tr101.c
@@ -28,6 +28,7 @@
#define OPT_MAX_INTER_DELAY_DOWN 0x8D
#define OPT_ACTUAL_INTER_DELAY_DOWN 0x8E
#define ACCESS_LOOP_ENCAP 0x90
+#define IFW_SESSION 0xFE
static int tr101_send_request(struct pppoe_tag *tr101, struct rad_packet_t *pack, int type)
{
@@ -159,6 +160,12 @@ static int tr101_send_request(struct pppoe_tag *tr101, struct rad_packet_t *pack
if (rad_packet_add_octets(pack, "ADSL-Forum", "Access-Loop-Encapsulation", (uint8_t *)str, 3))
return -1;
break;
+ case IFW_SESSION:
+ if (len != 0)
+ goto inval;
+ if (rad_packet_add_octets(pack, "ADSL-Forum", "IWF-Session", NULL, 0))
+ return -1;
+ break;
}
ptr += len;
}