)]}'
{
  "commit": "6aa136f1eaeb0dfc1e39e6c2cd6380a399ef126f",
  "tree": "b1313a9961fe29a4ccf91571a5c772545351084d",
  "parents": [
    "b366b518401e0b0652cd70d297d3fb67b4803db0"
  ],
  "author": {
    "name": "Vitaliy Senchyshyn",
    "email": "vsenchyshyn@toroki.com",
    "time": "Wed Oct 02 10:40:20 2013 +0000"
  },
  "committer": {
    "name": "David Lamparter",
    "email": "equinox@opensourcerouting.org",
    "time": "Thu May 15 19:54:04 2014 +0200"
  },
  "message": "bgpd: send notify in OpenSent when stopping manually\n\nThe issue it fixes is that the notification message is not sent to a\nsecond peer when bgp is stopped manually.\n\nAccording to BGP RFC4271, section 8.2.2, regarding the FSM transitions,\nin OpenSent state:\n\nIf a ManualStop event (Event 2) is issued in the OpenSent state, the\nlocal system:\n\n  * sends the NOTIFICATION with a Cease,\n  * sets the ConnectRetryTimer to zero,\n  * releases all BGP resources,\n  * drops the TCP connection,\n  * sets the ConnectRetryCounter to zero, and\n  * changes its state to Idle.\n\nI\u0027ve added a check for OpenSent state when the notification is sent from\nthe functions which are called from the CLI commands which\ndirectly/indirectly stop/restart BGP.\n\nAcked-by: Pradosh Mohapatra \u003cpmohapat@cumulusnetworks.com\u003e\nSigned-off-by: David Lamparter \u003cequinox@opensourcerouting.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4b26993e73b21bc85ef8694d5abecbc522d97a2d",
      "old_mode": 33188,
      "old_path": "bgpd/bgpd.c",
      "new_id": "5e2a5e19f4f8ccc617ed7d686bae27fb9aa52fcd",
      "new_mode": 33188,
      "new_path": "bgpd/bgpd.c"
    },
    {
      "type": "modify",
      "old_id": "024fedcf36c6f83ce5773ccaa9a9b9a76c99400d",
      "old_mode": 33188,
      "old_path": "bgpd/bgpd.h",
      "new_id": "3d516d35a4f6b3541d53fb72e8524590190b52f0",
      "new_mode": 33188,
      "new_path": "bgpd/bgpd.h"
    }
  ]
}
