mirror of
https://github.com/fluencelabs/musl
synced 2025-06-28 22:22:01 +00:00
add stubs for additional legacy ether.h functions
these would not be expensive to actually implement, but reading /etc/ethers does not sound like a particularly useful feature, so for now I'm leaving them as stubs.
This commit is contained in:
@ -41,3 +41,18 @@ char *ether_ntoa (const struct ether_addr *p_a) {
|
||||
static char x[18];
|
||||
return ether_ntoa_r (p_a, x);
|
||||
}
|
||||
|
||||
int ether_line(const char *l, struct ether_addr *e, char *hostname)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int ether_ntohost(char *hostname, const struct ether_addr *e)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int ether_hostton(const char *hostname, struct ether_addr *e)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user