)]}'
{
  "commit": "9234b382735b690f403ce018ce392316b2ad6e38",
  "tree": "291a65a85584a3435453676bd8ed1ab0f70123ab",
  "parents": [
    "a05df8fd279e4af0f077de181fb6c4e7d7174267"
  ],
  "author": {
    "name": "Doug VanLeuven",
    "email": "roamdad@sonic.net",
    "time": "Wed Oct 10 16:12:32 2012 -0700"
  },
  "committer": {
    "name": "David Lamparter",
    "email": "equinox@opensourcerouting.org",
    "time": "Mon Nov 05 11:22:24 2012 -0500"
  },
  "message": "build: check actually-used BSD link state fields\n\nifi_link_state missing in OS X. There could be other *BSD\u0027s that haven\u0027t\nimplemented it and possibly affects older implementations.\n\nThe existing HAVE_BSD_LINK_DETECT configure.ac check is only confirming\nthe link state detection using ifmediareq.ifm_status found in\n\u003cnet/if_media.h\u003e. This is the link state detection used in\nzebra/ioctl.c. Later, *BSD redefined struct if_data in \u003cnet/if.h\u003e and\nincluded link state detection. This is the method used in\nzebra/kernel_socket.c\n\nAdditional test defined in config.ac to test for member struct\nif_data.ifi_link_state defined in \u003cnet/if.h\u003e separate from test for\n\u003cnet/if_media.h\u003e ifmediareq.ifm_status\n\nFixed #ifdef\u0027s in zebra/kernel_socket.c to use the new #define\nNo impact on older function calls in zebra/ioctl.c\n\nTested on 64bit OS X 10.7, FreeBSD 9.0 amd64 \u0026 i386 (32bit)\nusing gcc \u0026 clang. Tested on linux 64bit.\n\nSigned-off-by: David Lamparter \u003cequinox@opensourcerouting.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dcca9682ce4ed6aa3b2061ef6414aa0f86981492",
      "old_mode": 33261,
      "old_path": "configure.ac",
      "new_id": "425fe27373bd1f66e2aa778bf076ddce927e5806",
      "new_mode": 33261,
      "new_path": "configure.ac"
    },
    {
      "type": "modify",
      "old_id": "20c17f9ee802111379445c373e8ad86098904fd1",
      "old_mode": 33188,
      "old_path": "zebra/kernel_socket.c",
      "new_id": "cde36bd034447eeb6b683308dcc438b0cf2af42e",
      "new_mode": 33188,
      "new_path": "zebra/kernel_socket.c"
    }
  ]
}
