Skip to content

Commit

Permalink
Merge pull request #162 from y0urself/default_unix_socket_path
Browse files Browse the repository at this point in the history
Changed the default gvmd socket path
  • Loading branch information
bjoernricks authored Sep 26, 2019
2 parents eca760e + 97a8462 commit afab5f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed
* Added type `TLS_CERTIFICATE` to `EntityType` and `FilterType` [PR 157](https://github.com/greenbone/python-gvm/pull/157)
* Changed the `DEFAULT_UNIX_SOCKET_PATH` [PR 119](https://github.com/greenbone/python-gvm/pull/162)

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions gvm/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
DEFAULT_READ_TIMEOUT = 60 # in seconds
DEFAULT_TIMEOUT = 60 # in seconds
DEFAULT_GVM_PORT = 9390
DEFAULT_UNIX_SOCKET_PATH = "/usr/local/var/run/gvmd.sock"
DEFAULT_UNIX_SOCKET_PATH = "/var/run/gvmd.sock"
MAX_SSH_DATA_LENGTH = 4095


Expand Down Expand Up @@ -324,7 +324,7 @@ class UnixSocketConnection(GvmConnection):
direct communicating UNIX-Socket
Arguments:
path: Path to the socket. Default is "/usr/local/var/run/gvmd.sock".
path: Path to the socket. Default is "/var/run/gvmd.sock".
timeout: Timeout in seconds for the connection. Default is 60 seconds.
"""

Expand Down

0 comments on commit afab5f3

Please sign in to comment.