diff --git a/CHANGELOG.md b/CHANGELOG.md index 9583123a6..ab6c5fe0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/gvm/connections.py b/gvm/connections.py index 4a10708e7..61752af6c 100644 --- a/gvm/connections.py +++ b/gvm/connections.py @@ -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 @@ -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. """