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.
2 parents bd8d142 + 8514288 commit d9249bcCopy full SHA for d9249bc
splunklib/client.py
@@ -2152,7 +2152,7 @@ def update(self, **kwargs):
2152
2153
if 'restrictToHost' in kwargs:
2154
raise IllegalOperationException("Cannot set restrictToHost on an existing input with the SDK.")
2155
- elif 'restrictToHost' in self._state.content:
+ elif 'restrictToHost' in self._state.content and self.kind != 'udp':
2156
to_update['restrictToHost'] = self._state.content['restrictToHost']
2157
2158
# Do the actual update operation.
0 commit comments