20026352 Quagga needs to change dladm_open function call.
authorBrian Utterback <brian.utterback@oracle.com>
Thu, 15 Jan 2015 11:38:17 -0800
changeset 3637 ccffa596a69c
parent 3636 ca7fe1fad4ea
child 3638 35261042a92e
20026352 Quagga needs to change dladm_open function call.
components/quagga/patches/70-isisd-trill.patch
--- a/components/quagga/patches/70-isisd-trill.patch	Wed Jan 14 07:56:59 2015 -0800
+++ b/components/quagga/patches/70-isisd-trill.patch	Thu Jan 15 11:38:17 2015 -0800
@@ -3094,7 +3094,7 @@
 index 0000000..3a38660
 --- /dev/null
 +++ isisd/isis_trill.c
-@@ -0,0 +1,2348 @@
+@@ -0,0 +1,2352 @@
 +/*
 + * IS-IS Rout(e)ing protocol - isis_trill.c
 + *
@@ -5312,7 +5312,11 @@
 +  dladm_status_t status;
 +  char errmsg[DLADM_STRSIZE];
 +
++#ifdef NETADM_ACTIVE_PROFILE
 +  if ((status = dladm_open (&dlhandle, NETADM_ACTIVE_PROFILE))
++#else
++  if ((status = dladm_open (&dlhandle))
++#endif
 +      != DLADM_STATUS_OK)
 +    {
 +      zlog_err ("%s: unable to open datalink control: %s",