Extend valid time area again
This commit is contained in:
parent
860e4addbf
commit
18277c5511
|
@ -48,7 +48,7 @@ int mesh_sanity(uint8_t * pkt){
|
||||||
if(MO_TYPE(pkt)=='T' && MO_TIME(pkt)<86400)
|
if(MO_TYPE(pkt)=='T' && MO_TIME(pkt)<86400)
|
||||||
return MP_OK;
|
return MP_OK;
|
||||||
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
|
if(MO_TYPE(pkt)>='A' && MO_TYPE(pkt)<='Z'){
|
||||||
if(MO_TIME(pkt)>1326409200)
|
if(MO_TIME(pkt)>1327519200)
|
||||||
return MP_SEND|MP_RECV;
|
return MP_SEND|MP_RECV;
|
||||||
if(MO_TIME(pkt)<1324602000)
|
if(MO_TIME(pkt)<1324602000)
|
||||||
return MP_SEND|MP_RECV;
|
return MP_SEND|MP_RECV;
|
||||||
|
|
Loading…
Reference in New Issue