Erm. Do not panic instantly after power on :-)

This commit is contained in:
Stefan `Sec` Zehl 2012-01-03 02:16:24 +01:00
parent 99a17a36aa
commit 14c31ed175
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ int mesh_sanity(uint8_t * pkt){
return MP_SEND;
if(MO_TYPE(pkt)=='T' && MO_BODY(pkt)[5])
return MP_SEND;
if(MO_TYPE(pkt)=='T' && MO_TIME(pkt)<86400)
return MP_OK;
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
if(MO_TIME(pkt)>1326409200)
return MP_SEND;