Control: tag -1 + fixed-upstream
On Wed, Jul 11, 2018 at 12:02:50PM +0200, Uwe Kleine-König wrote:
> I'm currently working on improving rfc2217-support in microcom and think
> that ser2net behaves wrong in reply to microcom's improved behaviour.
>
> When I connect to ser2net and then "say":
>
> IAC DO COM_PORT
>
> (i.e. \xff \xfd \x2c) ser2net replies with
>
> IAC WONT COM_PORT
>
> (i.e. \xff \xfc \x2c) which is bogus because that's the purpose of
> ser2net and it works just fine if I don't ask for it.
>
> I didn't test, but I guess the fix is:
>
> - { TN_OPT_COM_PORT, 1, 0, 0, 0, 0, 0,
> + { TN_OPT_COM_PORT, 1, 1, 0, 0, 0, 0,
>
> in dataxfer.c.Looking at the upstream repository this bug was fixed in commit 59090a089484654e93ea753b87d66a1af37b41b9 two years ago. See https://sourceforge.net/p/ser2net/code/ci/59090a089484654e93ea753b87d66a1af37b41b9 which is exactly the patch I suggested. Best regards Uwe
signature.asc
Description: PGP signature

