Skip to content
Snippets Groups Projects

First unit tests

Merged Leon Dietrich requested to merge first_unit_tests into master
Compare and Show latest version
5 files
+ 65
10
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -130,6 +130,9 @@ namespace rmrf::net {
} catch (const std::invalid_argument& _) {
// Could not parse port. Continue as service
}
// TODO sort to prioritize local addresses over more remote ones
if(port != -1 && is_plain_ip_address(interface_description)) {
std::list<socketaddr> l = {parse_plain_ip_address(interface_description, (uint16_t) port, socket_type)};
return l;
Loading