]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_monitor.c: Don't emit a warning about 'X' being unrecognized.
authorSean Bright <sean@seanbright.com>
Thu, 7 Mar 2024 17:27:12 +0000 (12:27 -0500)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 11 Mar 2024 17:53:30 +0000 (17:53 +0000)
commit3c1a2daecd8221e5ed50c70011a931f795ed209c
tree258f5b7f239883980ea16e60898dff9e52350c57
parent61b5298cd32488c7c289a6ed9fc95f9b1bc5b339
res_monitor.c: Don't emit a warning about 'X' being unrecognized.

Code was added in 030f7d41 to warn if an unrecognized option was
passed to an application, but code in Monitor was taking advantage of
the fact that the application would silently accept an invalid option.

We now recognize the invalid option but we don't do anything if it's
set.

Fixes #639
res/res_monitor.c