core: fix typo for parameter as "paramter"

(cherry picked from commit 19a78f8954)
This commit is contained in:
Thomas Haller 2018-02-28 08:37:33 +01:00
parent 878baf7b33
commit dad2269fbd
4 changed files with 9 additions and 9 deletions

View file

@ -7543,7 +7543,7 @@ _commit_mtu (NMDevice *self, const NMIP4Config *config)
gboolean anticipated_failure = FALSE;
if (!priv->mtu_initial && !priv->ip6_mtu_initial) {
/* before touching any of the MTU paramters, record the
/* before touching any of the MTU parameters, record the
* original setting to restore on deactivation. */
priv->mtu_initial = mtu_plat;
priv->ip6_mtu_initial = _IP6_MTU_SYS ();

View file

@ -139,11 +139,11 @@ static void _ppp_kill (NMPPPManager *manager);
/*****************************************************************************/
static void
_ppp_manager_set_route_paramters (NMPPPManager *self,
guint32 ip4_route_table,
guint32 ip4_route_metric,
guint32 ip6_route_table,
guint32 ip6_route_metric)
_ppp_manager_set_route_parameters (NMPPPManager *self,
guint32 ip4_route_table,
guint32 ip4_route_metric,
guint32 ip6_route_table,
guint32 ip6_route_metric)
{
NMPPPManagerPrivate *priv;
@ -1359,7 +1359,7 @@ nm_ppp_manager_class_init (NMPPPManagerClass *manager_class)
NMPPPOps ppp_ops = {
.create = _ppp_manager_new,
.set_route_parameters = _ppp_manager_set_route_paramters,
.set_route_parameters = _ppp_manager_set_route_parameters,
.start = _ppp_manager_start,
.stop_async = _ppp_manager_stop_async,
.stop_finish = _ppp_manager_stop_finish,

View file

@ -558,7 +558,7 @@ enum {
PARSE_LINE_ATTR_ROUTE_VIA,
PARSE_LINE_ATTR_ROUTE_METRIC,
/* iproute2 paramters that are well known and that we silently ignore. */
/* iproute2 parameters that are well known and that we silently ignore. */
PARSE_LINE_ATTR_ROUTE_DEV,
};

View file

@ -143,7 +143,7 @@ find_by_path (NMSKeyfilePlugin *self, const char *path)
* an existing connection with the same UUID.
* If %TRUE and @connection, allow updating only if the reload would modify
* @connection (without changing its UUID) or if we would create a new connection.
* In other words, if this paramter is %TRUE, we only allow creating a
* In other words, if this parameter is %TRUE, we only allow creating a
* new connection (with an unseen UUID) or updating the passed in @connection
* (whereas the UUID cannot change).
* Note, that this allows for @connection to be replaced by a new connection.