summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-09-18 12:13:23 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-09-18 12:13:23 +0000
commit8220c4040e84767b6923f4a9c7741d33d39df0f8 (patch)
treec9d22f73ea2cb052b1a04924ada5098adb11a3f0 /usr.sbin/smtpd
parent981d2db567dbe5248de6c8dff6d5715b4878eb6d (diff)
remove C_NET. it's not used and there is no plan for it at the moment.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/lka_session.c3
-rw-r--r--usr.sbin/smtpd/smtpd.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index 612f1444a6f..df18a8631d1 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.23 2012/09/17 18:44:57 gilles Exp $ */
+/* $OpenBSD: lka_session.c,v 1.24 2012/09/18 12:13:22 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -88,7 +88,6 @@ lka_session_envelope_expand(struct lka_session *lks, struct envelope *ep)
switch (ep->rule.r_condition.c_type) {
case C_ALL:
- case C_NET:
case C_DOM: {
if (ep->agent.mda.to.user[0] == '\0')
user = ep->dest.user;
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 80e07910730..0b7a81a9c10 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.352 2012/09/17 20:19:18 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.353 2012/09/18 12:13:22 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -283,7 +283,6 @@ struct map_backend {
enum cond_type {
C_ALL,
- C_NET,
C_DOM,
C_VDOM
};