chiark / gitweb /
treewide: correct typos and use consistent "MAC" spelling
authorTorstein Husebø <torstein@huseboe.net>
Mon, 9 Feb 2015 13:18:57 +0000 (14:18 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 13:32:49 +0000 (14:32 +0100)
man/systemd.link.xml
man/systemd.unit.xml
src/libsystemd-network/dhcp-identifier.c
src/libsystemd-network/dhcp-network.c
src/libsystemd-network/sd-dhcp-server.c
src/network/networkd-link.c
src/network/networkd-network.c

index d5c8b9968d571d6e3e744a998313db82f041cbbf..afc0ad8c5e1e6d303747ec63859a20fe6c7e2ef4 100644 (file)
                 boot for the given machine and the given device, but
                 which is otherwise random. This feature depends on ID_NET_NAME_*
                 properties existing for the link, on hardware where these
-                properties are not set the generation of a persistent mac address
+                properties are not set the generation of a persistent MAC address
                 will fail.</para>
               </listitem>
             </varlistentry>
index 4dae63138905faa8ced121b84e000763692f3803..09e11b4711f5bc886941837b482b8aea0f1f76db 100644 (file)
@@ -1362,7 +1362,7 @@ WantedBy=multi-user.target</programlisting>
 
       <para>Now one wants to change some settings as an administrator:
       firstly, in the local setup, <filename>/srv/webserver</filename>
-      might not exit, because the HTTP server is configured to use
+      might not exist, because the HTTP server is configured to use
       <filename>/srv/www</filename> instead. Secondly, the local
       configuration makes the HTTP server also depend on a memory
       cache service, <filename>memcached.service</filename>, that
index e4b0ce6b2e1af401b3ff7e8f4028b4b0510755b7..419a450436e21d016484ddb3ea5d6a1a57767db8 100644 (file)
@@ -90,7 +90,7 @@ int dhcp_identifier_set_iaid(int ifindex, uint8_t *mac, size_t mac_len, uint32_t
         if (name)
                 siphash24((uint8_t*)&id, name, strlen(name), HASH_KEY.bytes);
         else
-                /* fall back to mac address if no predictable name available */
+                /* fall back to MAC address if no predictable name available */
                 siphash24((uint8_t*)&id, mac, mac_len, HASH_KEY.bytes);
 
         /* fold into 32 bits */
index 29e9993f6662b92cad51faf67953737b8ba9cb29..5f2d2cfbfd1d1482db6a1103dd3671c4f0dd6fd3 100644 (file)
@@ -63,7 +63,7 @@ static int _bind_raw_socket(int ifindex, union sockaddr_union *link,
                 BPF_STMT(BPF_LD + BPF_B + BPF_ABS, offsetof(DHCPPacket, dhcp.htype)),  /* A <- DHCP header type */
                 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, arp_type, 1, 0),                   /* header type == arp_type ? */
                 BPF_STMT(BPF_RET + BPF_K, 0),                                          /* ignore */
-                BPF_STMT(BPF_LD + BPF_B + BPF_ABS, offsetof(DHCPPacket, dhcp.hlen)),   /* A <- mac address length */
+                BPF_STMT(BPF_LD + BPF_B + BPF_ABS, offsetof(DHCPPacket, dhcp.hlen)),   /* A <- MAC address length */
                 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, dhcp_hlen, 1, 0),                  /* address length == dhcp_hlen ? */
                 BPF_STMT(BPF_RET + BPF_K, 0),                                          /* ignore */
                 BPF_STMT(BPF_LD + BPF_W + BPF_ABS, offsetof(DHCPPacket, dhcp.xid)),    /* A <- client identifier */
index 24fedd2375a2cbc3f08a15d44105a15c29d13b86..3f89f344d74905c2ebe87a8f10697f01b1515ed5 100644 (file)
@@ -597,7 +597,7 @@ static int ensure_sane_request(DHCPRequest *req, DHCPMessage *message) {
 
         req->message = message;
 
-        /* set client id based on mac address if client did not send an explicit
+        /* set client id based on MAC address if client did not send an explicit
            one */
         if (!req->client_id.data) {
                 uint8_t *data;
index 1f96c634efc64525c0048ae5ad899fa9af37ced2..0b1cac1055ffaa055f010c2cc189c5ae3afa37b5 100644 (file)
@@ -1133,7 +1133,7 @@ static int link_up(Link *link) {
 
         r = sd_rtnl_message_close_container(req);
         if (r < 0) {
-                log_link_error(link, "Could not close IFLA_AF_SPEC contaire: %s", strerror(-r));
+                log_link_error(link, "Could not close IFLA_AF_SPEC container: %s", strerror(-r));
                 return r;
         }
 
index 9ebc2d15aaecd6bb0e6d28060c8c042e3d92397d..3ebd4d7d588180e897a837373322d0ef000f24f8 100644 (file)
@@ -680,12 +680,12 @@ int config_parse_token(
 
         r = in_addr_is_null(AF_INET6, &buffer);
         if (r < 0) {
-                log_syntax(unit, LOG_ERR, filename, line, -r, "IPv6 token canno t be the ANY address, ignoring: %s", rvalue);
+                log_syntax(unit, LOG_ERR, filename, line, -r, "IPv6 token can not be the ANY address, ignoring: %s", rvalue);
                 return 0;
         }
 
         if ((buffer.in6.s6_addr32[0] | buffer.in6.s6_addr32[1]) != 0) {
-                log_syntax(unit, LOG_ERR, filename, line, EINVAL, "IPv6 token canno t be longer than 64 bits, ignoring: %s", rvalue);
+                log_syntax(unit, LOG_ERR, filename, line, EINVAL, "IPv6 token can not be longer than 64 bits, ignoring: %s", rvalue);
                 return 0;
         }