summaryrefslogtreecommitdiff
path: root/src/core/service.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-06-08 18:52:25 +0200
committerDaniel Mack <daniel@zonque.org>2015-06-08 20:39:23 +0200
commit85c675538fd18eefe0bbfd6fc87d9e0f38f3207a (patch)
tree080f0124e77f352cc0e5966d5104794671232811 /src/core/service.h
parent1472e6579944531908a21f850d2fabc99b8cc65d (diff)
kmod-setup: split warn flags
Traditionally, we used to warn about ipv6 being a module or being unavailable. This was changed in b4aa82f16 ("kmod-setup: don't warn when ipv6 can't be loaded") in a way that neither of the two conditions will cause a log message. Now, while running a setup without any IPv6 is completely fine and shouldn't cause any warning, we should still warn about ipv6 being a module instead of built-in. To achieve this, split the boolean warn flag into two: one for a feature not being built-in but shipped as a module, and one to print an error when a module is entirely unavailable. We will, however, still warn if kmod returns anything else than -ENOENT in the attempt of loading the module, and at the very least, turn the message into a debug log.
Diffstat (limited to 'src/core/service.h')
0 files changed, 0 insertions, 0 deletions