~ubuntu-branches/ubuntu/precise/network-manager/precise

« back to all changes in this revision

Viewing changes to .pc/libnl3-cache-args.patch/src/nm-netlink-utils.c

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-02-09 16:45:41 UTC
  • mfrom: (1.1.53)
  • Revision ID: package-import@ubuntu.com-20120209164541-4h90zknlsfdb7x35
Tags: 0.9.2.0+git201202091925.c721477-0ubuntu1
* upstream snapshot 2012-02-09 19:25:59 (GMT)
  + c721477d11d4fe144111d6d2eec8f93f2e9186c9
* debian/patches/avoid-periodic-disk-wakeups.patch: refreshed.
* debian/patches/nl3-default-ip6-route.patch: refreshed.
* debian/libnm-glib4.symbols: add symbols:
  + nm_active_connection_get_master@Base
  + nm_client_new_async@Base
  + nm_client_new_finish@Base
  + nm_remote_settings_new_async@Base
  + nm_remote_settings_new_finish@Base
  + nm_device_get_state_reason@Base
* debian/libnm-util2.symbols: add symbols:
  + nm_setting_802_1x_get_pac_file@Base
  + nm_setting_infiniband_get_transport_mode@Base

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
 *
171
171
 * Returns: zero if succeeded or the netlink error otherwise.
172
172
 **/
173
 
int nm_netlink_route_add(struct rtnl_route * route,
 
173
int nm_netlink_route_add (struct rtnl_route * route,
174
174
                         int family,
175
175
                         const void * dest, /* in_addr or in6_addr */
176
176
                         int dest_prefix,
236
236
        if (err == -NLE_FAILURE)
237
237
                err = -NLE_OBJ_NOTFOUND;
238
238
 
239
 
        if (err)
240
 
                nm_log_warn (LOGD_DEVICE | log,
241
 
                             "Failed to add route %s",
242
 
                             nl_geterror(err));
243
 
 
244
239
        return err;
245
240
}
246
241