fix small memory management problem Notes: Wed Jul 14 15:56:30 EDT 2010 geoff what's the bug, and why don't the cases for Fv4ip and Fv6ip need this change too? Reference: /n/sources/patch/maybe/snoopycsfix Date: Tue Mar 23 17:15:28 CET 2010 Signed-off-by: quanstro@quanstro.net Reviewed-by: geoff --- /sys/src/cmd/ip/snoopy/main.c Tue Mar 23 17:15:23 2010 +++ /sys/src/cmd/ip/snoopy/main.c Tue Mar 23 17:15:22 2010 @@ -756,10 +756,10 @@ v = csgetvalue(nil, "sys", (char*)f->r->s, "ether", 0); if(v){ - parseether(f->a, v); - free(v); - } else - parseether(f->a, f->r->s); + free(f->r->s); + f->r->s = v; + } + parseether(f->a, f->r->s); break; case Fv4ip: v = csgetvalue(nil, "sys", (char*)f->r->s,