Update snoop.c

Update Reversion history and reformat.
Fixed bug get IP function.[v.1.0.1]