summaryrefslogtreecommitdiff
path: root/components/net/netdev/include
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/netdev/include')
-rw-r--r--components/net/netdev/include/netdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/net/netdev/include/netdev.h b/components/net/netdev/include/netdev.h
index 25a8493a8f..1a61cba1c2 100644
--- a/components/net/netdev/include/netdev.h
+++ b/components/net/netdev/include/netdev.h
@@ -132,7 +132,7 @@ struct netdev_ops
int (*set_dns_server)(struct netdev *netdev, uint8_t dns_num, ip_addr_t *dns_server);
int (*set_dhcp)(struct netdev *netdev, rt_bool_t is_enabled);
-#ifdef FINSH_USING_MSH
+#ifdef RT_USING_FINSH
/* set network interface device common network interface device operations */
int (*ping)(struct netdev *netdev, const char *host, size_t data_len, uint32_t timeout, struct netdev_ping_resp *ping_resp);
void (*netstat)(struct netdev *netdev);