aboutgitcodebugslistschat
path: root/conf.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-10-14 13:05:56 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-10-14 13:20:34 +0200
commit3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4 (patch)
tree921af8b7607879a5fa912f4663c5de17e7d80112 /conf.c
parent54a19002df18d2f19fc455c9b1ef9f88b96b7bd1 (diff)
downloadpasst-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.tar
passt-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.tar.gz
passt-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.tar.bz2
passt-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.tar.lz
passt-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.tar.xz
passt-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.tar.zst
passt-3c6d24dd3021bb294a7aa182a95a9cb868ca6cb4.zip
netlink, pasta: Configure MTU of tap interface on --config-net
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c
index db9c350..483daeb 100644
--- a/conf.c
+++ b/conf.c
@@ -484,7 +484,7 @@ static void conf_ip(struct ctx *c)
memcpy(&c->addr4_seen, &c->addr4, sizeof(c->addr4_seen));
if (!memcmp(c->mac, MAC_ZERO, ETH_ALEN))
- nl_link(0, c->ifi, c->mac, 0);
+ nl_link(0, c->ifi, c->mac, 0, 0);
}
if (c->mode == MODE_PASST)