)]}'
{
  "commit": "f366ad31ae6bf7e2fb7271cf8eab6dee4af3baf9",
  "tree": "452f3071f7e1dc71d056bd476481bb008f6f435e",
  "parents": [
    "171eee31edbddbd8906447dc8725e0513227d013"
  ],
  "author": {
    "name": "Andrew J. Schorr",
    "email": "ajschorr@alumni.princeton.edu",
    "time": "Thu Jul 27 18:01:41 2006 +0000"
  },
  "committer": {
    "name": "Andrew J. Schorr",
    "email": "ajschorr@alumni.princeton.edu",
    "time": "Thu Jul 27 18:01:41 2006 +0000"
  },
  "message": "[vtysh] Never skip authentication, and add support for multiple -c commands\n\n2006-07-27 Andrew J. Schorr \u003cajschorr@alumni.princeton.edu\u003e\n\n\t* vtysh.1: Document new options -d and -E, and note that now multiple\n\t  -c options may be supplied, with embedded linefeed now supported.\n\t  In BUGS section, remove warning about vtysh causing a daemon\n\t  to freeze, since this has been fixed.\n\t* vtysh_main.c: (usage) Add new -d and -E options.  And note that\n\t  -c can be used multiple times, possibly with embedded linefeeds.\n\t  (longopts) Add new -d and -E options.\n\t  (main) Add new -d and -E options, and create a linked list to\n\t  support multiple -c options.  Do not call vtysh_connect_all until\n\t  after vtysh_read_config(config_default) and vtysh_auth have\n\t  succeeded.  This prevents the vtysh.conf file from configuring\n\t  any daemons, and it ensures that authentication has been passed\n\t  before we send any commands to any daemons.  Call vtysh_connect_all\n\t  with any daemon name supplied with -d.  If it is unable to connect\n\t  to any daemons, issue an error message and exit immediately.\n\t  When used in -c mode, call vtysh_execute(\"enable\") before\n\t  executing the commands in order to match interactive behavior.\n\t  And detect embedded linefeed chars in -c commands and break them up\n\t  appropriately.\n\t* vtysh.h: (vtysh_connect_all) Fix proto to reflect new\n\t  daemon_name argument, and that it now returns an integer -- the\n\t  number of daemons to which we were able to connect.\n\t* vtysh.c: (vtysh_connect_all) Add a new daemon_name argument.\n\t  If supplied, connect only to that daemon.  And return\n\t  the number of daemons to which we were able to connect.\n\t  (vtysh_prompt): Performance enhancement -- make struct utsname\n\t  static so we call uname to get the hostname only once.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c811cb3198c43aca3483ff4ee15b826c132b37ac",
      "old_mode": 33188,
      "old_path": "doc/ChangeLog",
      "new_id": "a0c39953014fd2e8a955c347c1d3245110e26d0e",
      "new_mode": 33188,
      "new_path": "doc/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "e5fccb119397c40f753d593432de50b2ba5f8621",
      "old_mode": 33188,
      "old_path": "doc/vtysh.1",
      "new_id": "eb960cdc0056059a44509670e8f022b2053be275",
      "new_mode": 33188,
      "new_path": "doc/vtysh.1"
    },
    {
      "type": "modify",
      "old_id": "ac038e1c116b454985aa6da37fc5068b200966df",
      "old_mode": 33188,
      "old_path": "vtysh/ChangeLog",
      "new_id": "b9b78f5ed158ab75ac1edf2bb38b04052f941a93",
      "new_mode": 33188,
      "new_path": "vtysh/ChangeLog"
    },
    {
      "type": "modify",
      "old_id": "110c361a987ab86eac61687ecea0f8aa8efa03d5",
      "old_mode": 33188,
      "old_path": "vtysh/vtysh.c",
      "new_id": "9b7d300fee93dcb90e75287f185c020bc4a6d197",
      "new_mode": 33188,
      "new_path": "vtysh/vtysh.c"
    },
    {
      "type": "modify",
      "old_id": "d619c294e5ed013e9c294e4d2fea37dcdc0b07eb",
      "old_mode": 33188,
      "old_path": "vtysh/vtysh.h",
      "new_id": "dd2bcbd0a03f281ac0e8d9c08748443751204934",
      "new_mode": 33188,
      "new_path": "vtysh/vtysh.h"
    },
    {
      "type": "modify",
      "old_id": "7f8e05929e152c16b0141938a67861f2e3d5a9ed",
      "old_mode": 33188,
      "old_path": "vtysh/vtysh_main.c",
      "new_id": "134bcf73ca4df451b5a6abd53f67270dd199302a",
      "new_mode": 33188,
      "new_path": "vtysh/vtysh_main.c"
    }
  ]
}
