[BACK]Return to rt_21.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / external / mpl / bind / dist / lib / dns / rdata / generic

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/external/mpl/bind/dist/lib/dns/rdata/generic/rt_21.c between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2019/01/09 16:48:22 version 1.1.1.3, 2019/11/24 19:58:05
Line 172  fromstruct_rt(ARGS_FROMSTRUCT) {
Line 172  fromstruct_rt(ARGS_FROMSTRUCT) {
         isc_region_t region;          isc_region_t region;
   
         REQUIRE(type == dns_rdatatype_rt);          REQUIRE(type == dns_rdatatype_rt);
         REQUIRE(source != NULL);          REQUIRE(rt != NULL);
         REQUIRE(rt->common.rdtype == type);          REQUIRE(rt->common.rdtype == type);
         REQUIRE(rt->common.rdclass == rdclass);          REQUIRE(rt->common.rdclass == rdclass);
   
Line 191  tostruct_rt(ARGS_TOSTRUCT) {
Line 191  tostruct_rt(ARGS_TOSTRUCT) {
         dns_name_t name;          dns_name_t name;
   
         REQUIRE(rdata->type == dns_rdatatype_rt);          REQUIRE(rdata->type == dns_rdatatype_rt);
         REQUIRE(target != NULL);          REQUIRE(rt != NULL);
         REQUIRE(rdata->length != 0);          REQUIRE(rdata->length != 0);
   
         rt->common.rdclass = rdata->rdclass;          rt->common.rdclass = rdata->rdclass;
Line 214  static inline void
Line 214  static inline void
 freestruct_rt(ARGS_FREESTRUCT) {  freestruct_rt(ARGS_FREESTRUCT) {
         dns_rdata_rt_t *rt = source;          dns_rdata_rt_t *rt = source;
   
         REQUIRE(source != NULL);          REQUIRE(rt != NULL);
         REQUIRE(rt->common.rdtype == dns_rdatatype_rt);          REQUIRE(rt->common.rdtype == dns_rdatatype_rt);
   
         if (rt->mctx == NULL)          if (rt->mctx == NULL)

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3

CVSweb <webmaster@jp.NetBSD.org>