summaryrefslogtreecommitdiffstats
path: root/drivers/unix/ip_unix.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-05-07 10:17:00 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-06-21 00:14:42 +0200
commitb574e476ec59c9cc0eee8ccf8e3093df62d79acd (patch)
treed5e847ea38e134e2434e8ed0a876230a32e2f874 /drivers/unix/ip_unix.h
parentd6f8a43b600cc5236c5860c8f266b6f8afc9c23c (diff)
downloadredot-engine-b574e476ec59c9cc0eee8ccf8e3093df62d79acd.tar.gz
Implement IP.get_local_interfaces.
Allow getting interfaces names and assigned names. On UWP this is not supported, and the function will return one interface for each local address (with interface name the local address itself).
Diffstat (limited to 'drivers/unix/ip_unix.h')
-rw-r--r--drivers/unix/ip_unix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/ip_unix.h b/drivers/unix/ip_unix.h
index e36535146e..f9bb626cc4 100644
--- a/drivers/unix/ip_unix.h
+++ b/drivers/unix/ip_unix.h
@@ -43,7 +43,7 @@ class IP_Unix : public IP {
static IP *_create_unix();
public:
- virtual void get_local_addresses(List<IP_Address> *r_addresses) const;
+ virtual void get_local_interfaces(Map<String, Interface_Info> *r_interfaces) const;
static void make_default();
IP_Unix();