X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/5042f0be451ee5b0cc29188ae9b310f39670d502..b1c5cd9eb2a4d47726d559d8f3e1506ec7f78219:/src/acl.cpp diff --git a/src/acl.cpp b/src/acl.cpp index a882182..a835f0e 100644 --- a/src/acl.cpp +++ b/src/acl.cpp @@ -117,27 +117,27 @@ std::ostream & GTS::operator<<(std::ostream & stream, const ACL & acl) oidValue = swACLEtherRuleDstMacAddress; oidValue += acl.getSuffix(); } - stream << oidValue << ":" << acl._mac << " "; + stream << oidValue << " x " << acl._mac << " "; // Permit rule oidValue = swACLEtherRulePermit; oidValue += acl.getSuffix(); - stream << oidValue << ":" << 2 << " "; + stream << oidValue << " i " << 2 << " "; // Port oidValue = swACLEtherRulePort; oidValue += acl.getSuffix(); - stream << oidValue << ":" << acl._port << " "; + stream << oidValue << " x " << acl._port << " "; // Shape oidValue = swACLEtherRuleRxRate; oidValue += acl.getSuffix(); - stream << oidValue << ":" << acl._shape << " "; + stream << oidValue << " i " << acl._shape << " "; // Create ACL oidValue = swACLEtherRuleRowStatus; oidValue += acl.getSuffix(); - stream << oidValue << ":" << 4; + stream << oidValue << " i " << 4; return stream; }