diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/profile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index ff8b47102..4172c96f7 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -745,6 +745,12 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
745 | fprintf(stderr, "Error: invalid MAC address\n"); | 745 | fprintf(stderr, "Error: invalid MAC address\n"); |
746 | exit(1); | 746 | exit(1); |
747 | } | 747 | } |
748 | |||
749 | // check multicast address | ||
750 | if (br->macsandbox[0] & 1) { | ||
751 | fprintf(stderr, "Error: invalid MAC address (multicast)\n"); | ||
752 | exit(1); | ||
753 | } | ||
748 | } | 754 | } |
749 | else | 755 | else |
750 | warning_feature_disabled("networking"); | 756 | warning_feature_disabled("networking"); |