[ntp:bk-ntp-dev-send] BitKeeper patch

Harlan Stenn stenn at whimsy.udel.edu
Tue Jan 6 20:08:20 PST 2004


This BitKeeper patch contains the following changesets:
mayer at pogo.udel.edu|ChangeSet|20040107015501|16539
stenn at whimsy.udel.edu|ChangeSet|20040107040649|25579

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# ID:	stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
# User:	stenn
# Host:	whimsy.udel.edu
# Root:	/backroom/ntp-dev

#
#--- 1.15/libisc/ifiter_ioctl.c	Wed Dec 31 13:43:31 2003
#+++ 1.16/libisc/ifiter_ioctl.c	Tue Jan  6 20:54:15 2004
#@@ -704,6 +704,27 @@
# 		get_addr(family, &iter->current.dstaddress,
# 			 (struct sockaddr *)&lifreq.lifr_dstaddr);
# 	}
#+	if ((iter->current.flags & INTERFACE_F_BROADCAST) != 0) {
#+		/*
#+		 * Ignore the HP/UX warning about "integer overflow during
#+		 * conversion.  It comes from its own macro definition,
#+		 * and is really hard to shut up.
#+		 */
#+		if (ioctl(iter->socket, SIOCGLIFBRDADDR, (char *)&lifreq)
#+		    < 0) {
#+			isc__strerror(errno, strbuf, sizeof(strbuf));
#+			UNEXPECTED_ERROR(__FILE__, __LINE__,
#+				isc_msgcat_get(isc_msgcat,
#+					       ISC_MSGSET_IFITERIOCTL,
#+					       ISC_MSG_GETDESTADDR,
#+					       "%s: getting "
#+					       "broadcast address: %s"),
#+					 lifreq.lifr_name, strbuf);
#+			return (ISC_R_IGNORE);
#+		}
#+		get_addr(family, &iter->current.broadcast,
#+			 (struct sockaddr *)&lifreq.lifr_broadaddr);
#+	}
# 
# 
# 	/*
#

# Diff checksum=71ac1aaf


# Patch vers:	1.3
# Patch type:	REGULAR

== ChangeSet ==
stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
mayer at pogo.udel.edu|ChangeSet|20031231184443|16531
D 1.1191.1.2 04/01/06 20:55:01-05:00 mayer at pogo.udel.edu +1 -0
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c Broadcast addresses were not being set for systems with IPv6 capability
K 16539
P ChangeSet
------------------------------------------------

0a0
> mayer at tecotoo.myibg.com|libisc/ifiter_ioctl.c|20030105020047|16979|d0eb782d mayer at pogo.udel.edu|libisc/ifiter_ioctl.c|20040107015415|38781

stenn at whimsy.udel.edu|ChangeSet|20040102213550|25571
D 1.1205 04/01/06 23:06:49-05:00 stenn at whimsy.udel.edu +0 -0
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c Merge pogo:/usa/mayer/ntp-dev-io into whimsy.udel.edu:/backroom/ntp-dev
i mayer at pogo.udel.edu|ChangeSet|20040107015501|16539
K 25579
M mayer at pogo.udel.edu|ChangeSet|20040107015501|16539
P ChangeSet
------------------------------------------------


== libisc/ifiter_ioctl.c ==
mayer at tecotoo.myibg.com|libisc/ifiter_ioctl.c|20030105020047|16979|d0eb782d
mayer at pogo.udel.edu|libisc/ifiter_ioctl.c|20031231184331|51344
D 1.16 04/01/06 20:54:15-05:00 mayer at pogo.udel.edu +21 -0
B stenn at whimsy.udel.edu|ChangeSet|19990526004811|57482|8983e65c737bb465
C
c Broadcast addresses were not being set for systems with IPv6 capability
K 38781
O -rw-rw-r--
P libisc/ifiter_ioctl.c
------------------------------------------------

I706 21
	if ((iter->current.flags & INTERFACE_F_BROADCAST) != 0) {
		/*
		 * Ignore the HP/UX warning about "integer overflow during
		 * conversion.  It comes from its own macro definition,
		 * and is really hard to shut up.
		 */
		if (ioctl(iter->socket, SIOCGLIFBRDADDR, (char *)&lifreq)
		    < 0) {
			isc__strerror(errno, strbuf, sizeof(strbuf));
			UNEXPECTED_ERROR(__FILE__, __LINE__,
				isc_msgcat_get(isc_msgcat,
					       ISC_MSGSET_IFITERIOCTL,
					       ISC_MSG_GETDESTADDR,
					       "%s: getting "
					       "broadcast address: %s"),
					 lifreq.lifr_name, strbuf);
			return (ISC_R_IGNORE);
		}
		get_addr(family, &iter->current.broadcast,
			 (struct sockaddr *)&lifreq.lifr_broadaddr);
	}

# Patch checksum=ab9092e0



More information about the bk-ntp-dev-send mailing list