diff --git a/tests/gnrc_ndp/main.c b/tests/gnrc_ndp/main.c
index 86452dcbff573eddf414fd49fe108e656df9a5df..224f5c8cdde7505dc43310a29a4f1bd77eb21c5b 100644
--- a/tests/gnrc_ndp/main.c
+++ b/tests/gnrc_ndp/main.c
@@ -973,7 +973,7 @@ static int _test_netif_get(gnrc_netif_t *netif, gnrc_netapi_opt_t *opt)
             return sizeof(uint64_t);
         case NETOPT_IS_WIRED:
             return 1;
-        case NETOPT_MAX_PACKET_SIZE: {
+        case NETOPT_MAX_PDU_SIZE: {
                 uint16_t *val = opt->data;
                 if (opt->data_len != sizeof(uint16_t)) {
                     return -EOVERFLOW;