Browse Source

[4286] spelling

Francis Dupont 9 years ago
parent
commit
321441f5b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dhcpsrv/tests/cfg_option_def_unittest.cc

+ 2 - 2
src/lib/dhcpsrv/tests/cfg_option_def_unittest.cc

@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2015 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2014-2016 Internet Systems Consortium, Inc. ("ISC")
 //
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -213,7 +213,7 @@ TEST(CfgOptionDefTest, overrideStdOptionDef) {
     /// There is no definition for the Access Network Domain Name Option
     /// There is no definition for the Access Network Domain Name Option
     /// (RFC5986, option code 213) in libdhcp++. Once it is implemented it
     /// (RFC5986, option code 213) in libdhcp++. Once it is implemented it
     /// should be not allowed to add a custom definition for it.
     /// should be not allowed to add a custom definition for it.
-    def.reset(new OptionDefinition("access-netwokr-domain-name", 213, "string"));
+    def.reset(new OptionDefinition("access-network-domain-name", 213, "string"));
     EXPECT_NO_THROW(cfg.add(def, DHCP4_OPTION_SPACE));
     EXPECT_NO_THROW(cfg.add(def, DHCP4_OPTION_SPACE));
 
 
     // It is not allowed to override the definition of the option which
     // It is not allowed to override the definition of the option which