)]}'
{
  "commit": "b6516829595ed4fc47af955de8bda9ef5be14ffd",
  "tree": "842806138758343d41598fded61943de51c4c363",
  "parents": [
    "2d362d1099f346202cb628665ff4ae563b2594f5"
  ],
  "author": {
    "name": "Stephen Hemminger",
    "email": "shemminger@vyatta.com",
    "time": "Mon Dec 21 18:50:43 2009 +0300"
  },
  "committer": {
    "name": "Denis Ovsienko",
    "email": "infrastation@yandex.ru",
    "time": "Mon Dec 21 18:50:43 2009 +0300"
  },
  "message": "zebra: change router-id selection algo\n\nThe router-id table looks like is supposed to be sorted in current\nquagga code, but the nodes are not added with the sorting\nfunction.\n\nThe sorting function is host byte order dependent.\nThe values need to converted before comparison.\n\nFixing this causes Zebra to choose the largest IP address\nas router-id, rather than the last address. This probably will\nsurprise some users. The other option would be to just remove the\ncomparison function and keep the existing LIFO behavior.\n\nLastly, simple subtraction works well for comparing.\n\n* zebra/router-id.c\n  * router_id_add_address(): employ listnode_add_sort()\n  * router_id_cmp(): employ ntohl(), then compare integers\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "41bab5456bc37e1d6253f897abc6a8c05f66b5b4",
      "old_mode": 33188,
      "old_path": "zebra/router-id.c",
      "new_id": "3d6b511c53c223fc349c489d00b9c794b9f7b2b0",
      "new_mode": 33188,
      "new_path": "zebra/router-id.c"
    }
  ]
}
