mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
- several functions depend on IPv4 or IPv6 od IPX support.
removes warning about unused code for allbareconfig.
This commit is contained in:
parent
17d355cb3c
commit
d42ef28b98
@ -141,6 +141,8 @@ static int count_netmask_bits(char *dotted_quad)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLE_FEATURE_IFUPDOWN_IPV4 || ENABLE_FEATURE_IFUPDOWN_IPV6 || \
|
||||||
|
ENABLE_FEATURE_IFUPDOWN_IPX
|
||||||
static void addstr(char **buf, size_t *len, size_t *pos, char *str, size_t str_length)
|
static void addstr(char **buf, size_t *len, size_t *pos, char *str, size_t str_length)
|
||||||
{
|
{
|
||||||
if (*pos + str_length >= *len) {
|
if (*pos + str_length >= *len) {
|
||||||
@ -319,6 +321,7 @@ static int execute(char *command, struct interface_defn_t *ifd, execfn *exec)
|
|||||||
}
|
}
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_FEATURE_IFUPDOWN_IPX
|
#ifdef CONFIG_FEATURE_IFUPDOWN_IPX
|
||||||
static int static_up_ipx(struct interface_defn_t *ifd, execfn *exec)
|
static int static_up_ipx(struct interface_defn_t *ifd, execfn *exec)
|
||||||
|
Loading…
Reference in New Issue
Block a user