Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37728937
en ru br
ALT Linux repositórios
S:2.1.13-alt7

Group :: Rede/Outros
RPM: barnyard2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: barnyard2-1.13-alt-sguild-padding.patch
Download


commit ce3c0228369ee2426e8f8c0cfd2edad77c8a3cf6
Author: firnsy <firnsy@gmail.com>
Date:   Fri Jan 23 06:24:00 2015 +1100
    fixed: incorrect padding in sguild for events without packets.
diff --git a/src/output-plugins/spo_sguil.c b/src/output-plugins/spo_sguil.c
index 6fa8f65..8f774a5 100644
--- a/src/output-plugins/spo_sguil.c
+++ b/src/output-plugins/spo_sguil.c
@@ -417,13 +417,13 @@ void Sguil(Packet *p, void *event, uint32_t event_type, void *arg)
     else
     {
         /* ack! an event without a packet. Append IP data from event struct and append
-        26 fillers */
+        27 fillers */
         if ( (event_type == UNIFIED2_IDS_EVENT_VLAN)||
                 (event_type == UNIFIED2_IDS_EVENT_MPLS) ||
                 (event_type == UNIFIED2_IDS_EVENT_VLAN)){
             SguilAppendIPHdrDataEVT(&list, event);
             int i;
-            for(i = 0; i < 26; ++i)
+            for(i = 0; i < 27; ++i)
             Tcl_DStringAppendElement(&list, "");
         } else {
         /* ack! an event without a packet. and no IP Data in eventAppend 32 fillers */
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009