Created
January 10, 2021 11:56
-
-
Save viliampucik/e410d2b325d73c179ac25cb0d96fa056 to your computer and use it in GitHub Desktop.
Patch Blocking HP/HPE/DXC/AT&T JET Client From Message (Un)Acknowledging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <syslog.h> | |
#include "opcsvapi.h" | |
int opcmsg_ack( opc_connection opc_conn, opcdata message_id ) { | |
const char *id = opcdata_get_str( message_id, OPCDATA_ID ); | |
syslog( LOG_LOCAL0 || LOG_INFO, "JET Patch blocked JET Client from acknowledging %s\n", id ); | |
return OPC_ERR_OK; | |
} | |
int opcmsg_unack( opc_connection opc_conn, opcdata message_id ) { | |
const char *id = opcdata_get_str( message_id, OPCDATA_ID ); | |
syslog( LOG_LOCAL0 || LOG_INFO, "JET Patch blocked JET Client from unacknowledging %s\n", id ); | |
return OPC_ERR_OK; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment