]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/isis_flags.c
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / isisd / isis_flags.c
index 0a69fecda1493117a45599c369fe7b6c0c9d517f..b1ece94e8ebc3051a0ed851152e1773f4231d436 100644 (file)
@@ -17,8 +17,8 @@
  * more details.
  *
  * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ * with this program; see the file COPYING; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <zebra.h>
@@ -68,9 +68,9 @@ void flags_free_index(struct flags *flags, long int index)
        return;
 }
 
-int flags_any_set(u_int32_t *flags)
+int flags_any_set(uint32_t *flags)
 {
-       u_int32_t zero[ISIS_MAX_CIRCUITS];
+       uint32_t zero[ISIS_MAX_CIRCUITS];
        memset(zero, 0x00, ISIS_MAX_CIRCUITS * 4);
 
        return bcmp(flags, zero, ISIS_MAX_CIRCUITS * 4);