mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix up a few remarks from jfindlay
This commit is contained in:
parent
2f940e22aa
commit
3892b12514
1 changed files with 2 additions and 1 deletions
|
@ -531,6 +531,7 @@ def active_tcp():
|
|||
Return a dict containing information on all of the running TCP connections (currently linux and solaris only)
|
||||
|
||||
.. versionchanged:: Boron
|
||||
|
||||
Added support for SunOS
|
||||
|
||||
CLI Example:
|
||||
|
@ -1186,7 +1187,7 @@ def get_bufsize(iface):
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' network.ge_tbufsize
|
||||
salt '*' network.get_bufsize
|
||||
'''
|
||||
if __grains__['kernel'] == 'Linux':
|
||||
if os.path.exists('/sbin/ethtool'):
|
||||
|
|
Loading…
Add table
Reference in a new issue