Files
genode-world/src/lib/grpc/patches/06_if_indextoname.patch
Pirmin Duss e0f557c050 protobuf_grpc: google serializing and RPC library
protobuf : 3.9.3
grpc     : 1.24.0

This a new version of the port with a vastly reduced port size.

Issue #190
2019-11-26 14:11:04 +01:00

13 lines
337 B
Diff

diff --git a/third_party/genode/if_indextoname.c b/third_party/genode/if_indextoname.c
new file mode 100644
index 0000000000..9ea67cee0c
--- /dev/null
+++ b/third_party/genode/if_indextoname.c
@@ -0,0 +1,6 @@
+char * if_indextoname(unsigned int ifindex, char *ifname)
+{
+ const char* name = "eth0";
+ ifname = name;
+ return ifname;
+}