Commit 9a5ae0bc authored by Philip Withnall's avatar Philip Withnall Committed by Olivier Crête
Browse files

pseudotcp: Fix the type of an argument to apply_option()

We’re dealing with unsigned bytes here, not chars. This will become
important when adding new TcpOptions numbered from 254 downwards.
parent e8a708ae
......@@ -1746,7 +1746,8 @@ apply_window_scale_option (PseudoTcpSocket *self, guint8 scale_factor)
static void
apply_option(PseudoTcpSocket *self, char kind, const guint8* data, guint32 len)
apply_option (PseudoTcpSocket *self, guint8 kind, const guint8 *data,
guint32 len)
if (kind == TCP_OPT_MSS) {
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