]> 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 15:48:20 +0000 (10:48 -0500)
commit547c59f00f0410fc842457cf7964465517b7115a
treef71f4d5fe95074b0d5c6beea241aae1cabd6cdf8
parent8767d01f5f827c96b70212a0ddc8d98f8e234376
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