safer lan packet handling