aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/utils.c')
-rw-r--r--networking/libiproute/utils.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c
index a0d08246a..e63bb27fb 100644
--- a/networking/libiproute/utils.c
+++ b/networking/libiproute/utils.c
@@ -251,13 +251,6 @@ void duparg2(const char *key, const char *arg)
251 bb_error_msg_and_die("either \"%s\" is duplicate, or \"%s\" is garbage", key, arg); 251 bb_error_msg_and_die("either \"%s\" is duplicate, or \"%s\" is garbage", key, arg);
252} 252}
253 253
254int matches(const char *cmd, const char *pattern)
255{
256 int len = strlen(cmd);
257
258 return strncmp(pattern, cmd, len);
259}
260
261int inet_addr_match(inet_prefix * a, inet_prefix * b, int bits) 254int inet_addr_match(inet_prefix * a, inet_prefix * b, int bits)
262{ 255{
263 uint32_t *a1 = a->data; 256 uint32_t *a1 = a->data;