vsock-util: allow VMADDR_CID_ANY as local CID if enabled in hwdb
On Hyper-V guests, `VMADDR_CID_ANY` is valid as per implementation in
kernel driver: net/vmw_vsock/hyperv_transport.c.
Fixes https://github.com/systemd/systemd/issues/42496
Follow-up for 83359c4da0
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
92e4afc4d3
commit
85afe8e82d
@@ -32,9 +32,9 @@
|
||||
#include "service-util.h"
|
||||
#include "set.h"
|
||||
#include "signal-util.h"
|
||||
#include "socket-util.h"
|
||||
#include "special.h"
|
||||
#include "string-util.h"
|
||||
#include "vsock-util.h"
|
||||
|
||||
static Manager* manager_unref(Manager *m);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_unref);
|
||||
|
||||
Reference in New Issue
Block a user