summaryrefslogtreecommitdiff
path: root/nuttx/net/netdev-ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/netdev-ioctl.c')
-rw-r--r--nuttx/net/netdev-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/netdev-ioctl.c b/nuttx/net/netdev-ioctl.c
index 3825a5f7b..e13a22170 100644
--- a/nuttx/net/netdev-ioctl.c
+++ b/nuttx/net/netdev-ioctl.c
@@ -215,7 +215,7 @@ int netdev_ioctl(int sockfd, int cmd, struct ifreq *req)
break;
case SIOCGIFMTU: /* Get MTU size */
- req->ifr_mtu = UIP_BUFSIZE;
+ req->ifr_mtu = CONFIG_NET_BUFSIZE;
break;
case SIOCGIFHWADDR: /* Get hardware address */