]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Protect access to nochecksums with #ifdef
authorGuido Falsi <madpilot@FreeBSD.org>
Sun, 26 Apr 2020 10:56:47 +0000 (12:56 +0200)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 28 Apr 2020 18:37:57 +0000 (13:37 -0500)
commit858d3216dd83428364c6615a06780444aad34cda
tree59b774097bcde0604f695c5d6ea16175142cc7c3
parentca5c1e63360c1021ab37dc3a0d55df16c00e1d3a
res_rtp_asterisk: Protect access to nochecksums with #ifdef

Recently code accessing nochecksums variable has been added without including #ifdef SO_NO_CHECK protection, while the variable is created only when such constant is defined.

ASTERISK-28852 #close

Change-Id: I381718893b80599ab8635f2b594a10c1000d595e
res/res_rtp_asterisk.c