mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
parent
4281471a34
commit
4eea2a058d
@ -43,7 +43,8 @@ struct Net::Ipv4_address : Network_address<IPV4_ADDR_LEN, '.', false>
|
||||
Ipv4_address(void *src) : Network_address(src) { }
|
||||
|
||||
bool valid() const { return *this != Ipv4_address(); }
|
||||
};
|
||||
}
|
||||
__attribute__((packed));
|
||||
|
||||
|
||||
/**
|
||||
|
@ -80,6 +80,7 @@ struct Net::Network_address
|
||||
|
||||
bool operator!=(const Network_address &other) const {
|
||||
return !(*this == other); }
|
||||
};
|
||||
}
|
||||
__attribute__((packed));
|
||||
|
||||
#endif /* _NET__NETADDRESS_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user