summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-04-05 20:54:54 +0000
committernjl <njl@FreeBSD.org>2003-04-05 20:54:54 +0000
commit29be5a9beb872d09b5ff060342399534c66dbed7 (patch)
tree878901fb1f3d097955a067dd4ee3b45363b3fbe9 /usr.sbin
parentb0693a4cbc1561df17854d11e8a1b4b331f8b742 (diff)
downloadFreeBSD-src-29be5a9beb872d09b5ff060342399534c66dbed7.zip
FreeBSD-src-29be5a9beb872d09b5ff060342399534c66dbed7.tar.gz
Use assignment, not equivalence test.
No response from: suz
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rtadvd/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rtadvd/config.c b/usr.sbin/rtadvd/config.c
index 713927f..5fa8c94 100644
--- a/usr.sbin/rtadvd/config.c
+++ b/usr.sbin/rtadvd/config.c
@@ -630,7 +630,7 @@ get_prefix(struct rainfo *rai)
/* link into chain */
insque(pp, &rai->prefix);
- pp->rainfo == rai;
+ pp->rainfo = rai;
/* counter increment */
rai->pfxs++;
OpenPOWER on IntegriCloud