diff options
Diffstat (limited to 'zhm/zhm_client.c')
-rw-r--r-- | zhm/zhm_client.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/zhm/zhm_client.c b/zhm/zhm_client.c index ada4101..f72e9fe 100644 --- a/zhm/zhm_client.c +++ b/zhm/zhm_client.c @@ -37,12 +37,13 @@ transmission_tower(notice, packet, pak_len) if (!strcmp(notice->z_opcode, CLIENT_FLUSH)) { send_flush_notice(HM_FLUSH); deactivated = 1; - } + } else if (!strcmp(notice->z_opcode, CLIENT_NEW_SERVER)) - new_server(NULL); + new_server(NULL); else - syslog (LOG_INFO, "Bad control notice from client."); - } else + syslog (LOG_INFO, "Bad control notice from client."); + return; + } else if (notice->z_kind != UNSAFE) { gack = *notice; gack.z_kind = HMACK; |