--- fwsync/driver/fwsync.c 2022/07/05 21:50:36 1.4 +++ fwsync/driver/fwsync.c 2022/07/11 15:59:42 1.5 @@ -39,6 +39,14 @@ fwsync_add_state(const struct fws_proto *pkt) return 0; } +static int +fwsync_add_alias(const struct fws_proto *pkt) +{ + DTRACE(); + + return 0; +} + static void fwsync_edge_proc(void *arg) { @@ -77,9 +85,8 @@ fwsync_edge_proc(void *arg) case FWS_PKTVER_STATE: fwsync_add_state(pkt); break; - case FWS_PKTVER_ALIAS_OUT: - break; - case FWS_PKTVER_ALIAS_IN: + case FWS_PKTVER_ALIAS: + fwsync_add_alias(pkt); break; default: printf("FWSync packet was discarded due to wrong version\n");