]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix type of nd_opt_home_agent_info_preference.
authorArnaud Ebalard <arno@natisbad.org>
Tue, 16 Jun 2009 03:33:39 +0000 (20:33 -0700)
committerPetr Baudis <pasky@suse.cz>
Tue, 16 Jun 2009 10:22:37 +0000 (12:22 +0200)
(cherry picked from commit 7ed520bd8504700cf4aaf3b06deb10575bfc546a)

ChangeLog
inet/netinet/icmp6.h

index c999607cbbd78e2cdd367e3089cf4109b5b431fc..d0912cccaf22cb6ef624e26e8a189ac02c072996 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-06-15  Ulrich Drepper  <drepper@redhat.com>
 
+       [BZ #10195]
+       * inet/netinet/icmp6.h (struct nd_opt_home_agent_info): Change type
+       of nd_opt_home_agent_info_preference to uint16_t.
+       Patch by Arnaud Ebalard <arno@natisbad.org>.
+
        [BZ #10203]
        * nis/nss_nis/nis-pwd.c (internal_nis_endpwent): Free all buffers,
        not just the currently used one and those which follow.
index 0cb1aa6a6c4b5d3c0077792049004b05220d5041..82893daa99fb84164cb1c419421c8bb23d4a1f1d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-1997,2000,2006 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1997,2000,2006,2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -339,7 +339,7 @@ struct nd_opt_home_agent_info
     uint8_t   nd_opt_home_agent_info_type;
     uint8_t   nd_opt_home_agent_info_len;
     uint16_t  nd_opt_home_agent_info_reserved;
-    int16_t   nd_opt_home_agent_info_preference;
+    uint16_t  nd_opt_home_agent_info_preference;
     uint16_t  nd_opt_home_agent_info_lifetime;
   };