Re: Getting listening port number while processing request
Teus Benschop <[email protected]> Thu, 23 May 2024 08:52:19 +0200
| Newsgroups | gmane.network.net-snmp.devel |
|---|---|
| Message-ID | <CAFueZ4zNEJ0_yfWeEZDAVuCc334k4agwkiGBBjhZSc9VRv31dw@mail.gmail.com> |
--===============1620847536241485015== Content-Type: multipart/alternative; boundary="000000000000b6015b0619197eba" --000000000000b6015b0619197eba Content-Type: text/plain; charset="UTF-8" On Wed, 22 May 2024 at 01:58, Bart Van Assche <[email protected]> wrote: > The attached patch in combination with a patch that reduces code > duplication have been applied. Please retest. > > Hello Bart, That is a nice update to reduce code duplication, and thanks for applying the patch plus the update. I've tested the local port number on tcp, tcp6, udp, and udp6, and it works fine in all four cases. The local port number can correctly be read from the session object. We were happy to be able to contribute a little bit. Teus. --000000000000b6015b0619197eba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-size:small">On Wed, 22 May 2024 at 01:58, Bart Van Assche <<a href=3D"= mailto:[email protected]">[email protected]</a>> wrote:<br></div></div= ><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"marg= in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-l= eft-color:rgb(204,204,204);padding-left:1ex">The attached patch in combinat= ion with a patch that reduces code<br> duplication have been applied. Please retest.<br> <br></blockquote><div><span class=3D"gmail_default" style=3D"font-size:smal= l">Hello Bart,</span></div><div><br></div><div style=3D"font-size:small" cl= ass=3D"gmail_default">That is a nice update to reduce code duplication, and= thanks for applying the patch plus the update.</div><div style=3D"font-siz= e:small" class=3D"gmail_default"><br></div><div style=3D"font-size:small" c= lass=3D"gmail_default">I've tested the local port number on tcp, tcp6, = udp, and udp6, and it works fine in all four cases. The local port number c= an correctly be read from=C2=A0the session object.</div><div style=3D"font-= size:small" class=3D"gmail_default"><br></div><div style=3D"font-size:small= " class=3D"gmail_default">We were happy to be able to contribute a little b= it.</div><div style=3D"font-size:small" class=3D"gmail_default"><br></div><= div style=3D"font-size:small" class=3D"gmail_default">Teus.</div></div></di= v> --000000000000b6015b0619197eba-- --===============1620847536241485015== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1620847536241485015== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders --===============1620847536241485015==--