mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-24 01:49:36 +02:00
Bugfix: Junos: IPv6 force /128 on hosts
This commit is contained in:
@@ -719,8 +719,11 @@ string PolicyCompiler_junosacl::PrintRule::_printAddr(Address *o)
|
||||
}
|
||||
} else
|
||||
{
|
||||
// str << srcaddr->toString() << "/" << srcmask.getLength();
|
||||
str << srcaddr->toString() << "/" << 32;
|
||||
if (srcaddr->isV4())
|
||||
str << srcaddr->toString() << "/" << 32;
|
||||
else
|
||||
str << srcaddr->toString() << "/" << 128;
|
||||
// str << srcaddr->toString() << "/" << srcmask.getLength();
|
||||
}
|
||||
}
|
||||
return str.str();
|
||||
|
||||
Reference in New Issue
Block a user