Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get interface used for routing to given destination #339

Merged
merged 12 commits into from
May 28, 2020
2 changes: 1 addition & 1 deletion base/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ get_routes (void)
return proc_routes;
}

__attribute__ ((unused)) static gchar *
gchar *
gvm_routethrough (struct sockaddr_storage *storage_dest,
struct sockaddr_storage *storage_source)
{
Expand Down
4 changes: 4 additions & 0 deletions base/networking.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,8 @@ port_in_port_ranges (int, port_protocol_t, array_t *);
int
ipv6_is_enabled ();

gchar *
gvm_routethrough (struct sockaddr_storage *storage_dest,
mattmundell marked this conversation as resolved.
Show resolved Hide resolved
struct sockaddr_storage *storage_source);

#endif /* not _GVM_NETWORKING_H */