Browse Source

spelling: libraries

Josh Soref 7 years ago
parent
commit
dff7c01724

+ 1 - 1
src/bin/agent/parser_context.cc

@@ -130,7 +130,7 @@ ParserContext::contextName()
     case SOCKET_TYPE:
         return ("socket-type");
     case HOOKS_LIBRARIES:
-        return ("hooks-librairies");
+        return ("hooks-libraries");
     case LOGGERS:
         return ("loggers");
     case OUTPUT_OPTIONS:

+ 1 - 1
src/bin/dhcp4/parser_context.cc

@@ -138,7 +138,7 @@ Parser4Context::contextName()
     case HOST_RESERVATION_IDENTIFIERS:
         return ("host-reservation-identifiers");
     case HOOKS_LIBRARIES:
-        return ("hooks-librairies");
+        return ("hooks-libraries");
     case SUBNET4:
         return ("subnet4");
     case RESERVATION_MODE:

+ 1 - 1
src/bin/dhcp4/tests/hooks_unittest.cc

@@ -1904,7 +1904,7 @@ TEST_F(HooksDhcpv4SrvTest, host4_identifier_hwaddr) {
 // The callout libraries write their library index number to a marker
 // file upon load and unload, making it simple to test whether or not
 // the load and unload callouts have been invoked.
-TEST_F(LoadUnloadDhcpv4SrvTest, unloadLibaries) {
+TEST_F(LoadUnloadDhcpv4SrvTest, unloadLibraries) {
 
     ASSERT_NO_THROW(server_.reset(new NakedDhcpv4Srv()));
 

+ 1 - 1
src/bin/dhcp6/parser_context.cc

@@ -138,7 +138,7 @@ Parser6Context::contextName()
     case HOST_RESERVATION_IDENTIFIERS:
         return ("host-reservation-identifiers");
     case HOOKS_LIBRARIES:
-        return ("hooks-librairies");
+        return ("hooks-libraries");
     case SUBNET6:
         return ("subnet6");
     case RESERVATION_MODE:

+ 1 - 1
src/bin/dhcp6/tests/hooks_unittest.cc

@@ -2441,7 +2441,7 @@ TEST_F(HooksDhcpv6SrvTest, host6Identifier_hwaddr) {
 // The callout libraries write their library index number to a marker
 // file upon load and unload, making it simple to test whether or not
 // the load and unload callouts have been invoked.
-TEST_F(LoadUnloadDhcpv6SrvTest, unloadLibaries) {
+TEST_F(LoadUnloadDhcpv6SrvTest, unloadLibraries) {
 
     ASSERT_NO_THROW(server_.reset(new NakedDhcpv6Srv(0)));