We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92d8ef commit 8514288Copy full SHA for 8514288
splunklib/client.py
@@ -2144,7 +2144,7 @@ def update(self, **kwargs):
2144
2145
if 'restrictToHost' in kwargs:
2146
raise IllegalOperationException("Cannot set restrictToHost on an existing input with the SDK.")
2147
- elif 'restrictToHost' in self._state.content:
+ elif 'restrictToHost' in self._state.content and self.kind != 'udp':
2148
to_update['restrictToHost'] = self._state.content['restrictToHost']
2149
2150
# Do the actual update operation.
0 commit comments