diff options
Diffstat (limited to 'src/firejail/arp.c')
-rw-r--r-- | src/firejail/arp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/arp.c b/src/firejail/arp.c index 06a619ba9..843d00ce0 100644 --- a/src/firejail/arp.c +++ b/src/firejail/arp.c | |||
@@ -45,7 +45,7 @@ typedef struct arp_hdr_t { | |||
45 | void arp_announce(const char *dev, Bridge *br) { | 45 | void arp_announce(const char *dev, Bridge *br) { |
46 | // RFC 5227 - using a source and destination IP address of the interface | 46 | // RFC 5227 - using a source and destination IP address of the interface |
47 | uint32_t srcaddr = br->ipsandbox; | 47 | uint32_t srcaddr = br->ipsandbox; |
48 | uint32_t destaddr = br->ipsandbox; | 48 | uint32_t destaddr = srcaddr; |
49 | 49 | ||
50 | if (strlen(dev) > IFNAMSIZ) { | 50 | if (strlen(dev) > IFNAMSIZ) { |
51 | fprintf(stderr, "Error: invalid network device name %s\n", dev); | 51 | fprintf(stderr, "Error: invalid network device name %s\n", dev); |