diff options
Diffstat (limited to 'src/plugins/pppoe/pppoe.h')
-rw-r--r-- | src/plugins/pppoe/pppoe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pppoe/pppoe.h b/src/plugins/pppoe/pppoe.h index f010750f420..5e8abfb998f 100644 --- a/src/plugins/pppoe/pppoe.h +++ b/src/plugins/pppoe/pppoe.h @@ -96,7 +96,7 @@ typedef enum #define MTU 1500 -#define MTU_BUFFERS ((MTU + VLIB_BUFFER_DATA_SIZE - 1) / VLIB_BUFFER_DATA_SIZE) +#define MTU_BUFFERS ((MTU + vlib_bufer_get_default_size(vm) - 1) / vlib_bufer_get_default_size(vm)) #define NUM_BUFFERS_TO_ALLOC 32 /* |