summaryrefslogtreecommitdiff
path: root/nuttx/net/route/net_delroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/route/net_delroute.c')
-rw-r--r--nuttx/net/route/net_delroute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/net/route/net_delroute.c b/nuttx/net/route/net_delroute.c
index a585a4dc1..6ebd3d6c0 100644
--- a/nuttx/net/route/net_delroute.c
+++ b/nuttx/net/route/net_delroute.c
@@ -1,7 +1,7 @@
/****************************************************************************
* net/route/net_delroute.c
*
- * Copyright (C) 2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -56,8 +56,8 @@
struct route_match_s
{
FAR struct net_route_s *prev; /* Predecessor in the list */
- net_ipaddr_t target; /* The target IP address to match */
- net_ipaddr_t netmask; /* The network mask to match */
+ in_addr_t target; /* The target IP address to match */
+ in_addr_t netmask; /* The network mask to match */
};
/****************************************************************************
@@ -134,7 +134,7 @@ static int net_match(FAR struct net_route_s *route, FAR void *arg)
*
****************************************************************************/
-int net_delroute(net_ipaddr_t target, net_ipaddr_t netmask)
+int net_delroute(in_addr_t target, in_addr_t netmask)
{
struct route_match_s match;