add 'up' for whether a interface is up or down
This commit is contained in:
parent
b6267f7d0b
commit
af508f0b4c
3 changed files with 28 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ const char *hostname(const char *unused);
|
|||
/* ip */
|
||||
const char *ipv4(const char *interface);
|
||||
const char *ipv6(const char *interface);
|
||||
const char *up(const char *interface);
|
||||
|
||||
/* kernel_release */
|
||||
const char *kernel_release(const char *unused);
|
||||
|
|
|
|||
Loading…
Reference in a new issue