diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-09-07 11:19:57 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-09-09 15:40:04 +0200 |
commit | ec2b58ea4dc45079470efedaa632da25031d5adc (patch) | |
tree | 8590159cb26a4db0fc943d657093f6e8bbbe6345 /ndp.c | |
parent | 8e9333616ac3dd37dfb2261f08dd0b16018d0686 (diff) | |
download | passt-ec2b58ea4dc45079470efedaa632da25031d5adc.tar passt-ec2b58ea4dc45079470efedaa632da25031d5adc.tar.gz passt-ec2b58ea4dc45079470efedaa632da25031d5adc.tar.bz2 passt-ec2b58ea4dc45079470efedaa632da25031d5adc.tar.lz passt-ec2b58ea4dc45079470efedaa632da25031d5adc.tar.xz passt-ec2b58ea4dc45079470efedaa632da25031d5adc.tar.zst passt-ec2b58ea4dc45079470efedaa632da25031d5adc.zip |
conf, dhcp, ndp: Fix message about default MTU, make NDP consistent
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'ndp.c')
-rw-r--r-- | ndp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ int ndp(struct ctx *c, struct ethhdr *eh, size_t len) memcpy(p, &c->addr6, 8); /* prefix */ p += 16; - if (c->mtu) { + if (c->mtu != -1) { *p++ = 5; /* type */ *p++ = 1; /* length */ p += 2; /* reserved */ |