Skip to content

Commit dc883cf

Browse files
committed
opal/util: fix parse_ipv4_dots prototype
1 parent 8f4e113 commit dc883cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opal/util/if.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved.
1515
* Copyright (c) 2014 Los Alamos National Security, LLC. All rights
1616
* reserved.
17+
* Copyright (c) 2015 Research Organization for Information Science
18+
* and Technology (RIST). All rights reserved.
1719
* $COPYRIGHT$
1820
*
1921
* Additional copyrights may follow
@@ -595,7 +597,7 @@ opal_ifislocal(const char *hostname)
595597
return false;
596598
}
597599

598-
static uint32_t parse_ipv4_dots(const char *addr, uint32_t* net, int* dots)
600+
static int parse_ipv4_dots(const char *addr, uint32_t* net, int* dots)
599601
{
600602
const char *start = addr, *end;
601603
uint32_t n[]={0,0,0,0};

0 commit comments

Comments
 (0)