Commit b612bab6 authored by Sven Meier's avatar Sven Meier Committed by Adam Wujek

audit porting: ported the patches of the audit chapter 2.4.2

No real porting was required only some clarifying, the rest was ported already
parent b5cdb8a3
...@@ -145,7 +145,8 @@ static int pp_packet_prefilter(struct pp_instance *ppi) ...@@ -145,7 +145,8 @@ static int pp_packet_prefilter(struct pp_instance *ppi)
&DSPOR(ppi)->portIdentity.clockIdentity, &DSPOR(ppi)->portIdentity.clockIdentity,
sizeof(ClockIdentity))) { sizeof(ClockIdentity))) {
if (DSDEF(ppi)->numberPorts > 1) { if (DSDEF(ppi)->numberPorts > 1) {
/* Announces are handled by the BMC, since otherwise the state is overwritten */ /* Announces are handled by the BMC, since otherwise the state
* also the PASSIVE states in this case is overwritten */
if (hdr->messageType != PPM_ANNOUNCE) { if (hdr->messageType != PPM_ANNOUNCE) {
/* ignore messages, except announce coming from its own clock */ /* ignore messages, except announce coming from its own clock */
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment