Skip to content

Commit c21076a

Browse files
committed
added iptables rules for DNS enforcement
1 parent 0d6bbc7 commit c21076a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pf/iptables.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ sub generate_filter_if_src_to_chain {
172172

173173
my $cluster_ip = $ConfigCluster{$CLUSTER}->{"interface $dev"}->{ip};
174174
# VLAN enforcement
175-
if ($enforcement_type eq $IF_ENFORCEMENT_VLAN) {
175+
if ($enforcement_type eq $IF_ENFORCEMENT_VLAN || $enforcement_type eq $IF_ENFORCEMENT_DNS) {
176176
if ($dev =~ m/(\w+):\d+/) {
177177
$dev = $1;
178178
}

0 commit comments

Comments
 (0)