aboutsummaryrefslogtreecommitdiffstats
path: root/src/fnet/veth.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-06-09 11:09:10 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-06-09 11:09:10 -0400
commit6b988b499aaec74318c9430c96ba9868b8a779d7 (patch)
tree19743a7f9c74fc699dffbb0012db16adcd7b2898 /src/fnet/veth.c
parentglibc missing O_PATH definition on Debian 7 (diff)
downloadfirejail-6b988b499aaec74318c9430c96ba9868b8a779d7.tar.gz
firejail-6b988b499aaec74318c9430c96ba9868b8a779d7.tar.zst
firejail-6b988b499aaec74318c9430c96ba9868b8a779d7.zip
wireless support
Diffstat (limited to 'src/fnet/veth.c')
-rw-r--r--src/fnet/veth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fnet/veth.c b/src/fnet/veth.c
index fb4f3dc31..36362f1c1 100644
--- a/src/fnet/veth.c
+++ b/src/fnet/veth.c
@@ -176,6 +176,7 @@ int net_create_macvlan(const char *dev, const char *parent, unsigned pid) {
176 return 0; 176 return 0;
177} 177}
178 178
179#ifdef IPVLAN_MODE_L2
179int net_create_ipvlan(const char *dev, const char *parent, unsigned pid) { 180int net_create_ipvlan(const char *dev, const char *parent, unsigned pid) {
180 int len; 181 int len;
181 struct iplink_req req; 182 struct iplink_req req;
@@ -237,7 +238,7 @@ int net_create_ipvlan(const char *dev, const char *parent, unsigned pid) {
237 238
238 return 0; 239 return 0;
239} 240}
240 241#endif
241 242
242// move the interface dev in namespace of program pid 243// move the interface dev in namespace of program pid
243// when the interface is moved, netlink does not preserve interface configuration 244// when the interface is moved, netlink does not preserve interface configuration