AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<wencheng.chai@onstor.com>,<dl-Cougar@onstor.com>,<rendell.fong@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E01401054@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 10 Jul 2007 17:30:03 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Wencheng Chai" <wencheng.chai@onstor.com>
Cc: "dl-Cougar" <dl-Cougar@onstor.com>, "Rendell Fong"
 <rendell.fong@onstor.com>
Subject: Re: hard coded interface name
Message-ID: <20070710173003.2f07685b@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E01401054@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E01401054@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 10 Jul 2007 17:20:00 -0700 "Wencheng Chai"
<wencheng.chai@onstor.com> wrote:

> 
>        Hi all,
> 
>        The interface names on the SSC are hard coded as "sc1" and
> "sc2" in many different files,
>        I have created two include files ./Includes/linux/ipm-if.h and
> ./Includes/openbsd/ipm-if.h
>        to define the interface name accordingly based on OS platform,
> but I have to
>        use #Ifdef to fix all the code that are hard coded the name. Is
> this OK? 

Not ok.