"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/piglet_plugins/pp_decode_data_iface.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

pp_decode_data_iface.cc  (snort3-3.1.28.0):pp_decode_data_iface.cc  (snort3-3.1.29.0)
skipping to change at line 47 skipping to change at line 47
table.get_field("sp", self.sp); table.get_field("sp", self.sp);
table.get_field("dp", self.dp); table.get_field("dp", self.dp);
table.get_field("decode_flags", self.decode_flags); table.get_field("decode_flags", self.decode_flags);
uint8_t pkt_type = 0; uint8_t pkt_type = 0;
table.get_field("type", pkt_type); table.get_field("type", pkt_type);
self.type = static_cast<PktType>(pkt_type); self.type = static_cast<PktType>(pkt_type);
} }
static void get_fields(lua_State* L, int tindex, DecodeData& self) static void get_fields(lua_State* L, int tindex, const DecodeData& self)
{ {
Lua::Table table(L, tindex); Lua::Table table(L, tindex);
table.set_field("sp", self.sp); table.set_field("sp", self.sp);
table.set_field("dp", self.dp); table.set_field("dp", self.dp);
table.set_field("decode_flags", self.decode_flags); table.set_field("decode_flags", self.decode_flags);
table.set_field("type", static_cast<uint8_t>(self.type)); table.set_field("type", static_cast<uint8_t>(self.type));
} }
static const luaL_Reg methods[] = static const luaL_Reg methods[] =
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)