summaryrefslogtreecommitdiffstats
path: root/src/libsystemd/sd-bus/bus-common-errors.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-20 21:28:22 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-25 15:59:40 +0100
commitedbcc1fdd94355c5cf22263ba2c1cfa4ec2eb010 (patch)
tree7fe83782671de558758ce370f0da0d4efa48f085 /src/libsystemd/sd-bus/bus-common-errors.h
parentresolved: when checking whether a link is relevant, check kernel operstate (diff)
downloadsystemd-edbcc1fdd94355c5cf22263ba2c1cfa4ec2eb010.tar.xz
systemd-edbcc1fdd94355c5cf22263ba2c1cfa4ec2eb010.zip
resolve: generate a nice clean error when clients try to resolve a name when the network is down
Diffstat (limited to 'src/libsystemd/sd-bus/bus-common-errors.h')
-rw-r--r--src/libsystemd/sd-bus/bus-common-errors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-common-errors.h b/src/libsystemd/sd-bus/bus-common-errors.h
index e93b6ac448..130779e8e3 100644
--- a/src/libsystemd/sd-bus/bus-common-errors.h
+++ b/src/libsystemd/sd-bus/bus-common-errors.h
@@ -79,6 +79,7 @@
#define BUS_ERROR_RR_TYPE_UNSUPPORTED "org.freedesktop.resolve1.ResourceRecordTypeUnsupported"
#define BUS_ERROR_NO_SUCH_LINK "org.freedesktop.resolve1.NoSuchLink"
#define BUS_ERROR_LINK_BUSY "org.freedesktop.resolve1.LinkBusy"
+#define BUS_ERROR_NETWORK_DOWN "org.freedesktop.resolve1.NetworkDown"
#define _BUS_ERROR_DNS "org.freedesktop.resolve1.DnsError."
#define BUS_ERROR_NO_SUCH_TRANSFER "org.freedesktop.import1.NoSuchTransfer"