Update daemon.c

fix unknown ShieldVersion for version 2