diff options
Diffstat (limited to 'dns_updater.hpp')
-rw-r--r-- | dns_updater.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dns_updater.hpp b/dns_updater.hpp index 44c0e32..84646c6 100644 --- a/dns_updater.hpp +++ b/dns_updater.hpp @@ -20,8 +20,8 @@ constexpr auto RESOLV_CONF = "/etc/resolv.conf"; * @param[in] inFile - File having DNS entries supplied by DHCP * @param[in] outFile - File to write the nameserver entries to */ -void processDNSEntries(const fs::path& inFile, - const fs::path& outFile); +void updateDNSEntries(const fs::path& inFile, + const fs::path& outFile); /** @brief User callback handler invoked by inotify watcher * @@ -32,7 +32,7 @@ void processDNSEntries(const fs::path& inFile, */ inline void processDNSEntries(const fs::path& inFile) { - return processDNSEntries(inFile, RESOLV_CONF); + return updateDNSEntries(inFile, RESOLV_CONF); } } // namepsace updater |