Commit daf5fa4f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Minor stylistic tweak to message parser.

parent fb2da8b5
...@@ -404,15 +404,14 @@ parse_packet(const unsigned char *from, struct network *net, ...@@ -404,15 +404,14 @@ parse_packet(const unsigned char *from, struct network *net,
debugf("Received unknown packet type %d from %s on %s.\n", debugf("Received unknown packet type %d from %s on %s.\n",
type, format_address(from), net->ifname); type, format_address(from), net->ifname);
} }
done: done:
i += len + 2; i += len + 2;
continue; continue;
fail: fail:
fprintf(stderr, "Couldn't parse packet (%d %d).\n", fprintf(stderr, "Couldn't parse packet (%d %d).\n",
message[0], message[1]); message[0], message[1]);
i += len + 2; goto done;
} }
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment