Fix appending the list of remote interfaces.
authorGuy Harris <guy@alum.mit.edu>
Sat, 27 Feb 2016 01:14:52 +0000 (17:14 -0800)
committerGuy Harris <guy@alum.mit.edu>
Sat, 27 Feb 2016 02:04:00 +0000 (02:04 +0000)
commitcdb7a7a25dfc87a1b12c43d134cab43a612427cb
treedf327c638aa31c6dc431a4d902776c6b14d48c8f
parent842a9b510074c896e54735e2e3a575ea802f23ea
Fix appending the list of remote interfaces.

Don't assume if_list is non-null when append_remote_list() is called; it
won't be, if we didn't find any local interfaces.  Have
append_remote_list() return the final if_list value, and assign it to
if_list.

Change-Id: I05586d5b034f3d61aa38a20f6c6d2c69117b367e
Reviewed-on: https://code.wireshark.org/review/14191
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Guy Harris <guy@alum.mit.edu>
capchild/capture_ifinfo.c